]> git.sesse.net Git - vlc/commitdiff
Cosmetics.
authorLaurent Aimar <fenrir@videolan.org>
Tue, 7 Oct 2008 18:04:26 +0000 (20:04 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Wed, 8 Oct 2008 22:11:16 +0000 (00:11 +0200)
src/input/decoder.c

index 183d7db6dc6a92ad29d502f5c62cc1726b2e38fa..769c1c1d125297434b82e17cfb8f811d0b88f6f6 100644 (file)
@@ -57,6 +57,8 @@ static int        DecoderProcess( decoder_t *, block_t * );
 static void       DecoderOutputChangePause( decoder_t *, bool b_paused, mtime_t i_date );
 static void       DecoderFlush( decoder_t * );
 
+static void       DecoderUnsupportedCodec( decoder_t *, vlc_fourcc_t );
+
 /* Buffers allocation callbacks for the decoders */
 static aout_buffer_t *aout_new_buffer( decoder_t *, int );
 static void aout_del_buffer( decoder_t *, aout_buffer_t * );
@@ -130,16 +132,9 @@ struct decoder_owner_sys_t
     mtime_t i_ts_delay;
 };
 
-/* */
-static void DecoderUnsupportedCodec( decoder_t *p_dec, vlc_fourcc_t codec )
-{
-    msg_Err( p_dec, "no suitable decoder module for fourcc `%4.4s'.\n"
-             "VLC probably does not support this sound or video format.",
-             (char*)&codec );
-    intf_UserFatal( p_dec, false, _("No suitable decoder module"), 
-                    _("VLC does not support the audio or video format \"%4.4s\". "
-                      "Unfortunately there is no way for you to fix this."), (char*)&codec );
-}
+/*****************************************************************************
+ * Public functions
+ *****************************************************************************/
 
 /* decoder_GetInputAttachment:
  */
@@ -505,6 +500,22 @@ void input_DecoderStopBuffering( decoder_t *p_dec )
 {
 }
 
+/*****************************************************************************
+ * Internal functions
+ *****************************************************************************/
+
+/* */
+static void DecoderUnsupportedCodec( decoder_t *p_dec, vlc_fourcc_t codec )
+{
+    msg_Err( p_dec, "no suitable decoder module for fourcc `%4.4s'.\n"
+             "VLC probably does not support this sound or video format.",
+             (char*)&codec );
+    intf_UserFatal( p_dec, false, _("No suitable decoder module"), 
+                    _("VLC does not support the audio or video format \"%4.4s\". "
+                      "Unfortunately there is no way for you to fix this."), (char*)&codec );
+}
+
+
 /**
  * Create a decoder object
  *