[vlc-commits] transcode: fix parameter warning

Rémi Denis-Courmont git at videolan.org
Tue Apr 1 22:45:26 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Apr  1 23:36:45 2014 +0300| [118d418caa58b79367131ed16c7147f7e91bcf72] | committer: Rémi Denis-Courmont

transcode: fix parameter warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=118d418caa58b79367131ed16c7147f7e91bcf72
---

 modules/stream_out/transcode/video.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c
index dd2fb50..3b099c1 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -656,9 +656,9 @@ void transcode_video_close( sout_stream_t *p_stream,
         filter_chain_Delete( id->p_uf_chain );
 }
 
-static void OutputFrame( sout_stream_sys_t *p_sys, picture_t *p_pic, sout_stream_t *p_stream, sout_stream_id_sys_t *id, block_t **out )
+static void OutputFrame( sout_stream_t *p_stream, picture_t *p_pic, sout_stream_id_sys_t *id, block_t **out )
 {
-
+    sout_stream_sys_t *p_sys = p_stream->p_sys;
     picture_t *p_pic2 = NULL;
     const mtime_t original_date = p_pic->date;
     bool b_need_duplicate=false;
@@ -931,7 +931,7 @@ int transcode_video_process( sout_stream_t *p_stream, sout_stream_id_sys_t *id,
                 if( !p_user_filtered_pic )
                     break;
 
-                OutputFrame( p_sys, p_user_filtered_pic, p_stream, id, out );
+                OutputFrame( p_stream, p_user_filtered_pic, id, out );
 
                 p_filtered_pic = NULL;
             }



More information about the vlc-commits mailing list