[vlc-commits] transcode: missing const

Rémi Denis-Courmont git at videolan.org
Sat Feb 21 11:24:22 CET 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Feb 21 11:31:52 2015 +0200| [49364d3a6a49895da06253c99434a6211be71d1c] | committer: Rémi Denis-Courmont

transcode: missing const

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

 modules/stream_out/transcode/audio.c     |    2 +-
 modules/stream_out/transcode/osd.c       |    2 +-
 modules/stream_out/transcode/spu.c       |    2 +-
 modules/stream_out/transcode/transcode.h |    8 ++++----
 modules/stream_out/transcode/video.c     |    2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/modules/stream_out/transcode/audio.c b/modules/stream_out/transcode/audio.c
index 6012420..da235ee 100644
--- a/modules/stream_out/transcode/audio.c
+++ b/modules/stream_out/transcode/audio.c
@@ -317,7 +317,7 @@ int transcode_audio_process( sout_stream_t *p_stream,
     return VLC_SUCCESS;
 }
 
-bool transcode_audio_add( sout_stream_t *p_stream, es_format_t *p_fmt, 
+bool transcode_audio_add( sout_stream_t *p_stream, const es_format_t *p_fmt,
             sout_stream_id_sys_t *id )
 {
     sout_stream_sys_t *p_sys = p_stream->p_sys;
diff --git a/modules/stream_out/transcode/osd.c b/modules/stream_out/transcode/osd.c
index a7489ad..6d6c71d 100644
--- a/modules/stream_out/transcode/osd.c
+++ b/modules/stream_out/transcode/osd.c
@@ -153,7 +153,7 @@ int transcode_osd_process( sout_stream_t *p_stream, sout_stream_id_sys_t *id,
     return VLC_EGENERIC;
 }
 
-bool transcode_osd_add( sout_stream_t *p_stream, es_format_t *p_fmt,
+bool transcode_osd_add( sout_stream_t *p_stream, const es_format_t *p_fmt,
                                 sout_stream_id_sys_t *id)
 {
     sout_stream_sys_t *p_sys = p_stream->p_sys;
diff --git a/modules/stream_out/transcode/spu.c b/modules/stream_out/transcode/spu.c
index 1250dcc..6b9c3f8 100644
--- a/modules/stream_out/transcode/spu.c
+++ b/modules/stream_out/transcode/spu.c
@@ -156,7 +156,7 @@ int transcode_spu_process( sout_stream_t *p_stream,
     return VLC_EGENERIC;
 }
 
-bool transcode_spu_add( sout_stream_t *p_stream, es_format_t *p_fmt,
+bool transcode_spu_add( sout_stream_t *p_stream, const es_format_t *p_fmt,
                         sout_stream_id_sys_t *id )
 {
     sout_stream_sys_t *p_sys = p_stream->p_sys;
diff --git a/modules/stream_out/transcode/transcode.h b/modules/stream_out/transcode/transcode.h
index 0dc0589..ab1904c 100644
--- a/modules/stream_out/transcode/transcode.h
+++ b/modules/stream_out/transcode/transcode.h
@@ -116,7 +116,7 @@ int transcode_osd_new( sout_stream_t *p_stream, sout_stream_id_sys_t *id );
 void transcode_osd_close( sout_stream_t *p_stream, sout_stream_id_sys_t *id);
 int transcode_osd_process( sout_stream_t *p_stream, sout_stream_id_sys_t *id,
                                   block_t *in, block_t **out );
-bool transcode_osd_add    ( sout_stream_t *, es_format_t *, sout_stream_id_sys_t *);
+bool transcode_osd_add( sout_stream_t *, const es_format_t *, sout_stream_id_sys_t *);
 
 /* SPU */
 
@@ -124,7 +124,7 @@ int  transcode_spu_new    ( sout_stream_t *, sout_stream_id_sys_t * );
 void transcode_spu_close  ( sout_stream_t *, sout_stream_id_sys_t * );
 int  transcode_spu_process( sout_stream_t *, sout_stream_id_sys_t *,
                                    block_t *, block_t ** );
-bool transcode_spu_add    ( sout_stream_t *, es_format_t *, sout_stream_id_sys_t *);
+bool transcode_spu_add    ( sout_stream_t *, const es_format_t *, sout_stream_id_sys_t *);
 
 /* AUDIO */
 
@@ -132,7 +132,7 @@ int  transcode_audio_new    ( sout_stream_t *, sout_stream_id_sys_t * );
 void transcode_audio_close  ( sout_stream_id_sys_t * );
 int  transcode_audio_process( sout_stream_t *, sout_stream_id_sys_t *,
                                      block_t *, block_t ** );
-bool transcode_audio_add    ( sout_stream_t *, es_format_t *,
+bool transcode_audio_add    ( sout_stream_t *, const es_format_t *,
                                 sout_stream_id_sys_t *);
 
 /* VIDEO */
@@ -141,5 +141,5 @@ int  transcode_video_new    ( sout_stream_t *, sout_stream_id_sys_t * );
 void transcode_video_close  ( sout_stream_t *, sout_stream_id_sys_t * );
 int  transcode_video_process( sout_stream_t *, sout_stream_id_sys_t *,
                                      block_t *, block_t ** );
-bool transcode_video_add    ( sout_stream_t *, es_format_t *,
+bool transcode_video_add    ( sout_stream_t *, const es_format_t *,
                                 sout_stream_id_sys_t *);
diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c
index 7fac566..c0fc480 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -815,7 +815,7 @@ int transcode_video_process( sout_stream_t *p_stream, sout_stream_id_sys_t *id,
     return VLC_SUCCESS;
 }
 
-bool transcode_video_add( sout_stream_t *p_stream, es_format_t *p_fmt,
+bool transcode_video_add( sout_stream_t *p_stream, const es_format_t *p_fmt,
                                 sout_stream_id_sys_t *id )
 {
     sout_stream_sys_t *p_sys = p_stream->p_sys;



More information about the vlc-commits mailing list