]> git.sesse.net Git - x264/blobdiff - input/ffms.c
cli: Use memory-mapped input frames for yuv and y4m
[x264] / input / ffms.c
index 6a3eb6c7663aba9a0d2901ce17e1a31d840de164..42b992c1b221c72559c57b4ad51c64d5a0e9a4e2 100644 (file)
@@ -175,7 +175,7 @@ static int open_file( char *psz_filename, hnd_t *p_handle, video_info_t *info, c
     return 0;
 }
 
-static int picture_alloc( cli_pic_t *pic, int csp, int width, int height )
+static int picture_alloc( cli_pic_t *pic, hnd_t handle, int csp, int width, int height )
 {
     if( x264_cli_pic_alloc( pic, X264_CSP_NONE, width, height ) )
         return -1;
@@ -209,7 +209,7 @@ static int read_frame( cli_pic_t *pic, hnd_t handle, int i_frame )
     return 0;
 }
 
-static void picture_clean( cli_pic_t *pic )
+static void picture_clean( cli_pic_t *pic, hnd_t handle )
 {
     memset( pic, 0, sizeof(cli_pic_t) );
 }