]> git.sesse.net Git - ffmpeg/commitdiff
parser: mark av_parser_parse() for removal on next major bump
authorAnton Khirnov <anton@khirnov.net>
Sat, 2 Apr 2011 09:55:04 +0000 (11:55 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sat, 2 Apr 2011 14:17:15 +0000 (16:17 +0200)
Fixes build with the bump, since the prototype is already marked for
removal.

libavcodec/parser.c

index e09e598760c2b84e1fccf1634686dc398f013c85..0c69b917544bc856a26d50ac2eecf693e8360f36 100644 (file)
@@ -105,6 +105,7 @@ void ff_fetch_timestamp(AVCodecParserContext *s, int off, int remove){
     }
 }
 
+#if LIBAVCODEC_VERSION_MINOR < 53
 /**
  *
  * @param buf           input
@@ -139,6 +140,7 @@ int av_parser_parse(AVCodecParserContext *s,
 {
     return av_parser_parse2(s, avctx, poutbuf, poutbuf_size, buf, buf_size, pts, dts, AV_NOPTS_VALUE);
 }
+#endif
 
 int av_parser_parse2(AVCodecParserContext *s,
                      AVCodecContext *avctx,