Revision 4778b4dd
libavcodec/vc1dec.c | ||
---|---|---|
3149 | 3149 |
const uint8_t *buf_start = buf; |
3150 | 3150 |
|
3151 | 3151 |
/* no supplementary picture */ |
3152 |
if (buf_size == 0) { |
|
3152 |
if (buf_size == 0 || (buf_size == 4 && AV_RB32(buf) == VC1_CODE_ENDOFSEQ)) {
|
|
3153 | 3153 |
/* special case for last picture */ |
3154 | 3154 |
if (s->low_delay==0 && s->next_picture_ptr) { |
3155 | 3155 |
*pict= *(AVFrame*)s->next_picture_ptr; |
Also available in: Unified diff