Revision 8bb27bdf

View differences:

ffmpeg.c
1291 1291
                    break;
1292 1292
                case CODEC_TYPE_VIDEO:
1293 1293
                    data_size = (ist->st->codec.width * ist->st->codec.height * 3) / 2;
1294
                    /* XXX: allocate picture correctly */
1295
                    memset(&picture, 0, sizeof(picture));
1294 1296
                    ret = avcodec_decode_video(&ist->st->codec, 
1295 1297
                                               &picture, &got_picture, ptr, len);
1296 1298
                    ist->st->quality= picture.quality;

Also available in: Unified diff