init has_b_frames for stream copy

Originally committed as revision 4060 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2005-03-22 18:15:55 +00:00
parent d07355da77
commit ff8cc24bf5
1 changed files with 1 additions and 0 deletions

View File

@ -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();