]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avformat.h
split rm muxer and demuxer in their own files
[ffmpeg] / libavformat / avformat.h
index 2c8f8e9c3af22428a465a266a3cce315b1735820..d63966662e0d3a9feaf59ce6b06bd1b83e858c07 100644 (file)
 #ifndef AVFORMAT_H
 #define AVFORMAT_H
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 #define LIBAVFORMAT_VERSION_INT ((51<<16)+(12<<8)+1)
 #define LIBAVFORMAT_VERSION     51.12.1
 #define LIBAVFORMAT_BUILD       LIBAVFORMAT_VERSION_INT
@@ -111,8 +107,11 @@ static inline void av_free_packet(AVPacket *pkt)
 /*************************************************/
 /* fractional numbers for exact pts handling */
 
-/* the exact value of the fractional number is: 'val + num / den'. num
-   is assumed to be such as 0 <= num < den */
+/**
+ * the exact value of the fractional number is: 'val + num / den'.
+ * num is assumed to be such as 0 <= num < den
+ * @deprecated Use AVRational instead
+*/
 typedef struct AVFrac {
     int64_t val, num, den;
 } AVFrac attribute_deprecated;
@@ -886,9 +885,5 @@ int match_ext(const char *filename, const char *extensions);
 
 #endif /* HAVE_AV_CONFIG_H */
 
-#ifdef __cplusplus
-}
-#endif
-
 #endif /* AVFORMAT_H */