Browse Source

Fix bug I introduced in r11962.

Thanks to Uoti Urpala for spotting it and proposing the
fix.

Originally committed as revision 12187 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Vitor Sessak 17 years ago
parent
commit
cf73e32a5f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/utils.c

+ 1
- 1
libavcodec/utils.c View File

@@ -295,7 +295,7 @@ int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic){

for (i=0; i<3 && picture.data[i+1]; i++)
size[i] = picture.data[i+1] - picture.data[i];
size[i] = tmpsize - size[i];
size[i] = tmpsize - (picture.data[i] - picture.data[0]);

buf->last_pic_num= -256*256*256*64;
memset(buf->base, 0, sizeof(buf->base));


Loading…
Cancel
Save