summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMark Cox <melbournemark+ffmpeg@gmail.com>2007-05-02 09:13:47 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2007-05-02 09:13:47 +0000
commit671adb174250d6b0fc7a562ac810680a6df155e7 (patch)
tree9d7bded6f40545b2a6643ac1c6f116638eb598ea /libavformat
parent29644cb504eee88bd40f95abaa392047946c6066 (diff)
patch so that the deprecated items show up correctly
when building doxygen docs patch by mark cox melbournemark plus ffmpeg minus devel chez gmail dot com Originally committed as revision 8866 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avformat.h7
-rw-r--r--libavformat/riff.h20
2 files changed, 21 insertions, 6 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 2c8f8e9c3a..1e8028cdcd 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -111,8 +111,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;
diff --git a/libavformat/riff.h b/libavformat/riff.h
index 45c72dde68..cd2b85d85f 100644
--- a/libavformat/riff.h
+++ b/libavformat/riff.h
@@ -46,10 +46,22 @@ extern const AVCodecTag codec_wav_tags[];
unsigned int codec_get_tag(const AVCodecTag *tags, int id);
enum CodecID codec_get_id(const AVCodecTag *tags, unsigned int tag);
-unsigned int codec_get_bmp_tag(int id) attribute_deprecated; //use av_codec_get_tag
-unsigned int codec_get_wav_tag(int id) attribute_deprecated; //use av_codec_get_tag
-enum CodecID codec_get_bmp_id(unsigned int tag) attribute_deprecated; //use av_codec_get_id
-enum CodecID codec_get_wav_id(unsigned int tag) attribute_deprecated; //use av_codec_get_id
+/**
+ * @deprecated Use av_codec_get_tag instead.
+ */
+unsigned int codec_get_bmp_tag(int id) attribute_deprecated;
+/**
+ * @deprecated Use av_codec_get_tag instead.
+ */
+unsigned int codec_get_wav_tag(int id) attribute_deprecated;
+/**
+ * @deprecated Use av_codec_get_id instead.
+ */
+enum CodecID codec_get_bmp_id(unsigned int tag) attribute_deprecated;
+/**
+ * @deprecated Use av_codec_get_id instead.
+ */
+enum CodecID codec_get_wav_id(unsigned int tag) attribute_deprecated;
void ff_parse_specific_params(AVCodecContext *stream, int *au_rate, int *au_ssize, int *au_scale);
#endif