[vlc-commits] rawdv: fix unused function

Rémi Denis-Courmont git at videolan.org
Sat May 25 09:57:43 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 25 10:55:03 2013 +0300| [5ebd61f421602d9df5ab47d0044c0d0f32b0156a] | committer: Rémi Denis-Courmont

rawdv: fix unused function

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

 modules/demux/rawdv.h |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/demux/rawdv.h b/modules/demux/rawdv.h
index 347384e..e8039f3 100644
--- a/modules/demux/rawdv.h
+++ b/modules/demux/rawdv.h
@@ -76,7 +76,8 @@ static inline uint16_t dv_audio_12to16( uint16_t sample )
     return result;
 }
 
-static void dv_get_audio_format( es_format_t *p_fmt, const uint8_t *p_aaux_src )
+static inline void dv_get_audio_format( es_format_t *p_fmt,
+                                        const uint8_t *p_aaux_src )
 {
     /* 12 bits non-linear will be converted to 16 bits linear */
     es_format_Init( p_fmt, AUDIO_ES, VLC_CODEC_S16L );
@@ -113,7 +114,7 @@ static inline int dv_get_audio_sample_count( const uint8_t *p_buffer, int i_dsf
     }
 }
 
-static block_t *dv_extract_audio( block_t *p_frame_block )
+static inline block_t *dv_extract_audio( block_t *p_frame_block )
 {
     block_t *p_block;
     uint8_t *p_frame, *p_buf;



More information about the vlc-commits mailing list