diff mbox

[FFmpeg-devel] libavformat/avformat.h: Move docs inside of #if

Message ID 20170630055841.2540-1-mii7303@gmail.com
State Accepted
Commit 9e392c6ece8dcf56a9c4ea35df8fedc7ccc25494
Headers show

Commit Message

Max Weber June 30, 2017, 5:58 a.m. UTC
Otherwise AVTimebaseSource gets av_apply_bitstream_filters' documentation in doxygen.

Signed-off-by: Max Weber <mii7303@gmail.com>
---
 libavformat/avformat.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Niedermayer June 30, 2017, 2:42 p.m. UTC | #1
On Thu, Jun 29, 2017 at 11:58:41PM -0600, Max Weber wrote:
> Otherwise AVTimebaseSource gets av_apply_bitstream_filters' documentation in doxygen.
> 
> Signed-off-by: Max Weber <mii7303@gmail.com>
> ---
>  libavformat/avformat.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

applied

thx

[...]
diff mbox

Patch

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 4ab217dc17..b0de66ac14 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -2954,6 +2954,7 @@  int avformat_match_stream_specifier(AVFormatContext *s, AVStream *st,
 
 int avformat_queue_attached_pictures(AVFormatContext *s);
 
+#if FF_API_OLD_BSF
 /**
  * Apply a list of bitstream filters to a packet.
  *
@@ -2965,7 +2966,6 @@  int avformat_queue_attached_pictures(AVFormatContext *s);
  * @return  >=0 on success;
  *          AVERROR code on failure
  */
-#if FF_API_OLD_BSF
 attribute_deprecated
 int av_apply_bitstream_filters(AVCodecContext *codec, AVPacket *pkt,
                                AVBitStreamFilterContext *bsfc);