[FFmpeg-soc] [soc]: r3843 - dirac/libavcodec/diracdec.c
conrad
subversion at mplayerhq.hu
Wed Dec 3 22:28:31 CET 2008
Author: conrad
Date: Wed Dec 3 22:28:31 2008
New Revision: 3843
Log:
The frame number to retire is a delta, not a boolean
Modified:
dirac/libavcodec/diracdec.c
Modified: dirac/libavcodec/diracdec.c
==============================================================================
--- dirac/libavcodec/diracdec.c (original)
+++ dirac/libavcodec/diracdec.c Wed Dec 3 22:28:31 2008
@@ -740,7 +740,7 @@ static int dirac_decode_frame_internal(D
*/
static int parse_frame(DiracContext *s)
{
- uint32_t retire;
+ int retire;
int i;
GetBitContext *gb = &s->gb;
@@ -757,7 +757,7 @@ static int parse_frame(DiracContext *s)
if (s->picture.reference) {
retire = dirac_get_se_golomb(gb);
if (retire) {
- s->retireframe[0] = s->picnum;
+ s->retireframe[0] = s->picnum + retire;
s->retirecnt = 1;
}
}
More information about the FFmpeg-soc
mailing list