old ffmpeg doesn't have av_frame_unref and it doesn't seem to be needed
This commit is contained in:
parent
2e7fd7c9a2
commit
bd9b5afe46
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue