Commit acc59650 authored by vitor's avatar vitor

Fix bug I introduced in r11962.

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12187 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2089fe22
......@@ -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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment