Hi all<br><br>1) i am pasting a gdb snapshot of x264's execution. <br><br>2)<br>a) Can anyone explain the multiple execution of lines 1082,1087 etc.<br>( I have added 'etc' above because there are many places this happens.. muxers.c...)<br><br>The snap also contains `info threads`. which shows 1 thread only<br><br>* 1 Thread 1074147968 (LWP 4754) Encode (param=0xbfffee60, opt=0xbfffee40) at x264.c:1087<br><br>3) These lines are not inside any loop.<br><br><br>---------------<br><br>Breakpoint 4, Encode (param=0xbfffee60, opt=0xbfffee40) at x264.c:1082<br>1082 if( ( i_frame_total == 0 || param->i_frame_total < i_frame_total )<br>(gdb) step<br>1080 i_frame_total = p_get_frame_total( opt->hin );<br>(gdb) step<br>1082 if( ( i_frame_total == 0 || param->i_frame_total <
i_frame_total )<br>(gdb) step<br>1087 if( ( h = x264_encoder_open( param ) ) == NULL )<br>(gdb) info threads<br>* 1 Thread 1074147968 (LWP 4754) Encode (param=0xbfffee60, opt=0xbfffee40) at x264.c:1087<br>(gdb) info threads<br>* 1 Thread 1074147968 (LWP 4754) Encode (param=0xbfffee60, opt=0xbfffee40) at x264.c:1087<br>(gdb) step<br>1085 param->i_frame_total = i_frame_total;<br>(gdb) step<br>1087 if( ( h = x264_encoder_open( param ) ) == NULL )<br>(gdb) step<br>x264_encoder_open (param=0xbfffee60) at encoder/encoder.c:461<br>461 x264_t *h = x264_malloc( sizeof( x264_t ) );<br>(gdb) info threads<br>* 1 Thread 1074147968 (LWP 4754) x264_encoder_open (param=0xbfffee60) at encoder/encoder.c:461<br>(gdb)<br>---------------<br><br>Karthik<br><br><p> 
<hr size=1>Want to start your own business? Learn how on <a href="http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/r-index">Yahoo! Small Business.</a>