[FFmpeg-devel] h264.c decode_cabac_mb_chroma_pre_mode clarification/question

Paul Kendall paul
Mon Jul 28 08:34:35 CEST 2008


On Monday 28 July 2008 18:28:14 Loren Merritt wrote:
> On Mon, 28 Jul 2008, Paul Kendall wrote:
> > In this function (of h264.c) the last two if statements are the same
> > (line 5021 & 5023), is the the correct behavior? Or have I found a bug?
>
> Correct behaviour. get_cabac_noinline() has side-effects, so calling it
> twice doesn't return the same answer.
>
So it seems to be part of the bitstream parsing process, is that correct?

I'm just trying to get to grips with the code so I can be more confident in 
some of my understanding of the code so that I can tackle some profiling and 
not break anything :-)

Cheers,
Paul




More information about the ffmpeg-devel mailing list