<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana,helvetica,sans-serif;font-size:10pt">Removed the optimisations and that solved the problem. Thanks Ian<br><br>Kindly ignore the previous mail.. sent by mistake.<br><br>karthik<br><div style="font-family: verdana,helvetica,sans-serif; font-size: 10pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: karthikeyan.s <informkarthik@gmail.com><br>To: x264-devel@videolan.org<br>Sent: Friday, January 12, 2007 5:50:38 PM<br>Subject: [x264-devel] multiple executions??<br><br>Hi all<br>1) i have pasted a gdb snapshot of x264.<br><br>2) Can someone explain multiple execution of lines 1082,1087 etc etc. (There are many such occations..only somelines are pasted..)<br><br>3) `info threads` shows only _one_ thread.
<br><br>4) The instruction is not inside a loop.<br><br>---------<br clear="all">(gdb) step<br>Encode (param=0xbfffe5b0, opt=0xbfffe590) 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) info threads<br>* 1 Thread 1074147968 (LWP 3892) Encode (param=0xbfffe5b0, opt=0xbfffe590)<br> at x264.c:1080<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) step<br>1085 param->i_frame_total = i_frame_total;<br>(gdb) step<br>1087 if( ( h = x264_encoder_open( param ) ) == NULL )
<br>---------<br><br>With Best Regards<br>karthik<br><br>M.Tech, EE Dept.<br>IITD (class of 2007)<br>
</div><br></div></div><br>
<hr size=1>Don't pick lemons.<br>
See all the <a href="http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw--">new 2007 cars</a> at <a href="http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw--">Yahoo! Autos.</a></body></html>