[FFmpeg-soc] [soc]: r3903 - dirac/libavcodec/diracdec.c
conrad
subversion at mplayerhq.hu
Thu Jan 1 21:31:12 CET 2009
Author: conrad
Date: Thu Jan 1 21:31:11 2009
New Revision: 3903
Log:
Just return if there is no idwt data
Modified:
dirac/libavcodec/diracdec.c
Modified: dirac/libavcodec/diracdec.c
==============================================================================
--- dirac/libavcodec/diracdec.c Thu Jan 1 21:31:09 2009 (r3902)
+++ dirac/libavcodec/diracdec.c Thu Jan 1 21:31:11 2009 (r3903)
@@ -821,7 +821,9 @@ static int parse_frame(DiracContext *s)
else
s->zero_res = get_bits1(gb);
- if (!s->zero_res) {
+ if (s->zero_res)
+ return 0;
+
s->wavelet_idx = svq3_get_ue_golomb(gb);
if (s->wavelet_idx > 6)
@@ -869,7 +871,6 @@ static int parse_frame(DiracContext *s)
}
}
}
- }
return 0;
}
More information about the FFmpeg-soc
mailing list