summaryrefslogtreecommitdiff
path: root/ffmpeg_opt.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-15 15:32:48 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-15 15:32:48 +0100
commit9aeffb3c2a0d86a1271836f87915d3a2e069cdd2 (patch)
tree13cb180b56c5378b9f9b9cd4bc6f8396023bb86c /ffmpeg_opt.c
parentcfc40a6aff8d35627469ef960531264c2f66a74e (diff)
parentbff3607547fdbb6e32b3830a351e6a33280c1e0d (diff)
Merge commit 'bff3607547fdbb6e32b3830a351e6a33280c1e0d'
* commit 'bff3607547fdbb6e32b3830a351e6a33280c1e0d': lavc: set the default rc_initial_buffer_occupancy Conflicts: libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r--ffmpeg_opt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index c98e03063b..09f75d3e82 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -1145,8 +1145,6 @@ static OutputStream *new_video_stream(OptionsContext *o, AVFormatContext *oc, in
if (p) p++;
}
video_enc->rc_override_count = i;
- if (!video_enc->rc_initial_buffer_occupancy)
- video_enc->rc_initial_buffer_occupancy = video_enc->rc_buffer_size * 3 / 4;
video_enc->intra_dc_precision = intra_dc_precision - 8;
if (do_psnr)