[x264-devel] [PATCH] move x264_levels extern from x264.h to set.h

Limin Wang lance.lmwang at gmail.com
Thu Feb 1 03:46:07 CET 2007


Hi,

I think x264_levels[] is used by x264 library internally and shouldn't
be exposed out to public interface. Is it true?


Thanks,
Limin
-------------- next part --------------
Index: encoder/set.h
===================================================================
--- encoder/set.h	(revision 622)
+++ encoder/set.h	(working copy)
@@ -31,4 +31,7 @@
 void x264_sei_version_write( x264_t *h, bs_t *s );
 void x264_validate_levels( x264_t *h );
 
+/* all of the levels defined in the standard, terminated by .level_idc=0 */
+extern const x264_level_t x264_levels[];
+
 #endif
Index: x264.h
===================================================================
--- x264.h	(revision 622)
+++ x264.h	(working copy)
@@ -286,8 +286,6 @@
     int frame_only;  // forbid interlacing
 } x264_level_t;
 
-/* all of the levels defined in the standard, terminated by .level_idc=0 */
-extern const x264_level_t x264_levels[];
 
 /* x264_param_default:
  *      fill x264_param_t with default values and do CPU detection */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
Url : http://mailman.videolan.org/pipermail/x264-devel/attachments/20070201/ae01fd37/attachment.pgp 


More information about the x264-devel mailing list