[vlc-devel] x264 compile error from changes this week

C.Y.M cym at syphir.sytes.net
Sun Jan 16 12:02:06 CET 2005


C.Y.M wrote:
> VLC and x264 (both from svn/cvs) have always worked well together except 
> for a recent change sometime this week.  After todays updates, I get the 
> following VLC compile error (x264 builds fine).
> 
> x264.c: In function `Open':
> x264.c:241: error: structure has no member named `i_iframe'
> x264.c:244: error: structure has no member named `i_idrframe'
> make[3]: *** [libx264_a-x264.o] Error 1
> make[3]: Leaving directory `/usr/local/src/vlc.cvs/vlc-trunk/modules/codec'
> make[2]: *** [all-modules] Error 1
> make[2]: Leaving directory `/usr/local/src/vlc.cvs/vlc-trunk/modules/codec'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/vlc.cvs/vlc-trunk/modules'
> make: *** [build-stamp] Error 2
> 

This is the cause of the breakage from the x264 project:

diff -ru x264.cvs.orig/trunk/common/common.h x264.cvs/trunk/common/common.h
--- x264.cvs.orig/trunk/common/common.h 2005-01-04 01:19:08.000000000 -0800
+++ x264.cvs/trunk/common/common.h      2005-01-16 02:54:23.000000000 -0800
@@ -215,8 +215,7 @@
          /* frames used for reference +1 for decoding */
          x264_frame_t *reference[16+1];

-        int i_last_idr; /* How many I non IDR frames from last IDR */
-        int i_last_i;   /* How many P/B frames from last I */
+        int i_last_idr; /* Frame number of the last IDR */

          int i_input;    /* Number of input frames already accepted */
      } frames;

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list