With this patch, the streams CAWP5_TOSHIBA_E.264 and CVWP5_TOSHIBA_E.264
are completely decoded
Originally committed as revision 3917 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Loïc Le Loarer20 years agocommitted byMichael Niedermayer
if(h->ref_list[list][i].data[0]!=NULL&&h->ref_list[list][i].pic_id==pred&&h->ref_list[list][i].long_ref==0)// ignore non existing pictures by testing data[0] pointer
if(h->ref_list[list][i].pic_id==pic_id&&h->ref_list[list][i].long_ref==1)// no need to ignore non existing pictures as non existing pictures have long_ref==0
break;
}
}
if(i<index){
if(i<0){
av_log(h->s.avctx,AV_LOG_ERROR,"reference picture missing during reorder\n");