Mercurial > libavcodec.hg
changeset 11432:1a7d902e33ac libavcodec
Revert commit 22378.
It broke FATE and kostya asked me on IRC to revert it.
author | vitor |
---|---|
date | Tue, 09 Mar 2010 08:20:11 +0000 |
parents | da870c6f71ce |
children | d8c2170062ce |
files | rv34.c |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/rv34.c Tue Mar 09 07:14:34 2010 +0000 +++ b/rv34.c Tue Mar 09 08:20:11 2010 +0000 @@ -1452,12 +1452,8 @@ av_log(avctx, AV_LOG_ERROR, "First slice header is incorrect\n"); return -1; } - if((!s->last_picture_ptr || !s->last_picture_ptr->data[0]) && si.type == FF_P_TYPE) - return -1; if((!s->last_picture_ptr || !s->last_picture_ptr->data[0]) && si.type == FF_B_TYPE) return -1; - if((!s->next_picture_ptr || !s->next_picture_ptr->data[0]) && si.type == FF_B_TYPE) - return -1; /* skip b frames if we are in a hurry */ if(avctx->hurry_up && si.type==FF_B_TYPE) return buf_size; if( (avctx->skip_frame >= AVDISCARD_NONREF && si.type==FF_B_TYPE)