[x264-devel] Re: multiple execution?

Ian Caulfield ian.caulfield at gmail.com
Thu Jan 11 12:48:16 CET 2007


On 1/11/07, karthik <skarthikeyan_17 at yahoo.com> wrote:
>
> Hi all
>
> 1)     i am pasting a gdb snapshot of x264's execution.
>
> 2)
> a)      Can anyone explain the multiple execution of lines 1082,1087 etc.
> ( I have added 'etc' above because there are many places this happens..
> muxers.c...)
>
> The snap also contains `info threads`. which shows 1 thread only
>
> * 1 Thread 1074147968 (LWP 4754)  Encode (param=0xbfffee60,
> opt=0xbfffee40) at x264.c:1087
>
> 3)     These lines are not inside any loop.


Have you compiled using optimisation (ie -O to gcc)? This will often reorder
the execution of code, and split a single source line into multiple separate
blocks of code. If you want to debug without this happening, compile with no
optimisation.

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/x264-devel/attachments/20070111/41f80b36/attachment.htm 


More information about the x264-devel mailing list