mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
mpegvideo_enc: use avcodec_free_context() instead of av_free()
This commit is contained in:
parent
168a443d43
commit
c80344d010
@ -1343,8 +1343,7 @@ static int estimate_best_b_count(MpegEncContext *s)
|
||||
}
|
||||
}
|
||||
|
||||
avcodec_close(c);
|
||||
av_freep(&c);
|
||||
avcodec_free_context(&c);
|
||||
|
||||
return best_b_count;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user