summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-03-22 18:15:55 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-03-22 18:15:55 +0000
commitff8cc24bf54cd2163eb31efa25ff79ba62306784 (patch)
tree051f93513cc0579f68707a4ad5af420e54fa8906
parentd07355da771006e7cd4c5461e74e15c9717d13e1 (diff)
init has_b_frames for stream copy
Originally committed as revision 4060 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 3f8fada45f..1a63076c62 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1533,6 +1533,7 @@ static int av_encode(AVFormatContext **output_files,
codec->frame_rate_base = icodec->frame_rate_base;
codec->width = icodec->width;
codec->height = icodec->height;
+ codec->has_b_frames = icodec->has_b_frames;
break;
default:
av_abort();