Browse code

init has_b_frames for stream copy

Originally committed as revision 4060 to svn://svn.ffmpeg.org/ffmpeg/trunk

Michael Niedermayer authored on 2005/03/23 03:15:55
Showing 1 changed files
... ...
@@ -1533,6 +1533,7 @@ static int av_encode(AVFormatContext **output_files,
1533 1533
                 codec->frame_rate_base = icodec->frame_rate_base;
1534 1534
                 codec->width = icodec->width;
1535 1535
                 codec->height = icodec->height;
1536
+                codec->has_b_frames = icodec->has_b_frames;
1536 1537
                 break;
1537 1538
             default:
1538 1539
                 av_abort();