[FFmpeg-soc] [soc]: r1160 - rv40/rv40.c
kostya
subversion at mplayerhq.hu
Wed Aug 22 19:56:30 CEST 2007
Author: kostya
Date: Wed Aug 22 19:56:30 2007
New Revision: 1160
Log:
Ignore slices with incorrect header
Modified:
rv40/rv40.c
Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c (original)
+++ rv40/rv40.c Wed Aug 22 19:56:30 2007
@@ -1569,6 +1569,7 @@ static int rv40_decode_slice(RV40DecCont
init_get_bits(&r->s.gb, r->slice_data, r->si.size);
if(rv40_parse_slice_header(r, gb, &r->si) < 0){
av_log(s->avctx, AV_LOG_ERROR, "Error parsing slice header\n");
+ *last = 0;
return -1;
}
if(r->prev_si.type != -1 && (r->si.type != r->prev_si.type || r->si.start <= r->prev_si.start || r->si.width != r->prev_si.width || r->si.height != r->prev_si.height)){
More information about the FFmpeg-soc
mailing list