1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-04 09:37:53 +02:00

fixed mpeg1 first block bug (pb with black picture optimisation for B frames)

Originally committed as revision 59 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Fabrice Bellard 2001-08-08 21:57:07 +00:00
parent b9ecd1ee74
commit 425dddb7f1

View File

@ -370,6 +370,7 @@ void MPV_frame_start(MpegEncContext *s)
int i;
UINT8 *tmp;
s->mb_skiped = 0;
if (s->pict_type == B_TYPE) {
for(i=0;i<3;i++) {
s->current_picture[i] = s->aux_picture[i];