[x264-devel] [PATCH] Use the prefixed name for pixel format enum

Vittorio Giovara vittorio.giovara at gmail.com
Tue Sep 15 15:40:14 CEST 2015


---
 x264.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x264.c b/x264.c
index f595857..cef4907 100644
--- a/x264.c
+++ b/x264.c
@@ -442,7 +442,7 @@ static void print_csp_names( int longhelp )
     printf( "                              - valid csps for `lavf' demuxer:\n" );
     printf( INDENT );
     size_t line_len = strlen( INDENT );
-    for( enum PixelFormat i = AV_PIX_FMT_NONE+1; i < AV_PIX_FMT_NB; i++ )
+    for( enum AVPixelFormat i = AV_PIX_FMT_NONE+1; i < AV_PIX_FMT_NB; i++ )
     {
         const char *pfname = av_get_pix_fmt_name( i );
         if( pfname )
-- 
1.9.5 (Apple Git-50.3)



More information about the x264-devel mailing list