This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
mpegvideo_enc: use avcodec_free_context() instead of av_free()
tags/n3.1
Anton Khirnov
10 years ago
parent
168a443d43
commit
c80344d010
1 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-2
libavcodec/mpegvideo_enc.c
+ 1
- 2
libavcodec/mpegvideo_enc.c
View File
@@ -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;
}
Write
Preview
Loading…
Cancel
Save