old ffmpeg doesn't have av_frame_unref and it doesn't seem to be needed

This commit is contained in:
Isaac Connor 2019-04-03 14:56:14 -04:00
parent 2e7fd7c9a2
commit bd9b5afe46
1 changed files with 1 additions and 1 deletions

View File

@ -1006,7 +1006,7 @@ int VideoStore::writeAudioFramePacket(AVPacket *ipkt) {
zm_dump_frame(in_frame, "In frame from decode"); zm_dump_frame(in_frame, "In frame from decode");
if ( ! resample_audio() ) { if ( ! resample_audio() ) {
av_frame_unref(in_frame); //av_frame_unref(in_frame);
return 0; return 0;
} }
zm_dump_frame(out_frame, "Out frame after resample"); zm_dump_frame(out_frame, "Out frame after resample");