Cleanup recieve_frame

pull/4604/head
Isaac Connor 2026-02-06 19:21:30 -05:00
parent 4ebbc540ca
commit 63410fbd20
1 changed files with 2 additions and 6 deletions

View File

@ -156,15 +156,11 @@ int ZMPacket::receive_frame(AVCodecContext *ctx) {
// receive_frame goes out of scope here and releases the surface
in_frame = std::move(sw_frame);
zm_dump_video_frame(in_frame.get(), "After immediate hwtransfer");
} else {
in_frame = std::move(receive_frame);
return 1;
}
#else
in_frame = std::move(receive_frame);
#endif
#else
in_frame = std::move(receive_frame);
#endif
in_frame = std::move(receive_frame);
return 1;
} // end int ZMPacket::receive_frame(AVCodecContext *ctx)