Signed-off-by: Mans Rullgard <mans@mansr.com>
const uint8_t *buf_start = buf;
/* no supplementary picture */
const uint8_t *buf_start = buf;
/* no supplementary picture */
+ if (buf_size == 0 || (buf_size == 4 && AV_RB32(buf) == VC1_CODE_ENDOFSEQ)) {
/* special case for last picture */
if (s->low_delay==0 && s->next_picture_ptr) {
*pict= *(AVFrame*)s->next_picture_ptr;
/* special case for last picture */
if (s->low_delay==0 && s->next_picture_ptr) {
*pict= *(AVFrame*)s->next_picture_ptr;