[FFmpeg-devel] h264.c decode_cabac_mb_chroma_pre_mode clarification/question
Mon Jul 28 23:52:01 CEST 2008
On Mon, Jul 28, 2008 at 06:34:35PM +1200, Paul Kendall wrote:
> 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?
yes, get_cabac(_noinline)() reads a CABAC coded bit
the _noinline variant wont be inlined by the compiler.
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Thouse who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel