]> git.sesse.net Git - vlc/blobdiff - include/vlc_codec.h
Add .flv extension. Close #1256
[vlc] / include / vlc_codec.h
index c8dd5ebca97ae1eb78ce2a3383c239cdf73633c5..029cb59414dc93a0735b31d15bff2de09419edb1 100644 (file)
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * vlc_codec.h: codec related structures
+ * vlc_codec.h: Definition of the decoder and encoder structures
  *****************************************************************************
  * Copyright (C) 1999-2003 the VideoLAN team
  * $Id$
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
+
+#if !defined( __LIBVLC__ )
+  #error You are not libvlc or one of its plugins. You cannot include this file
+#endif
+
 #ifndef _VLC_CODEC_H
 #define _VLC_CODEC_H 1
 
+#include <vlc_block.h>
+#include <vlc_es.h>
+
 /**
  * \file
  * This file defines the structure and types used by decoders and encoders
@@ -134,4 +142,8 @@ struct encoder_t
  * @}
  */
 
+VLC_EXPORT( input_attachment_t *, decoder_GetInputAttachment, ( decoder_t *, const char *psz_name ) );
+VLC_EXPORT( int, decoder_GetInputAttachments, ( decoder_t *p_dec, input_attachment_t ***ppp_attachment, int *pi_attachment ) );
+
+
 #endif /* _VLC_CODEC_H */