From ad92558754003b728a5eb604f8185889facf9b0f Mon Sep 17 00:00:00 2001 From: Alex Converse Date: Mon, 29 Jun 2009 22:48:07 +0000 Subject: [PATCH] Use av_log_missing_feature in the ADTS encoder. (Pseudo reverts r19173). Originally committed as revision 19299 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/adtsenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/adtsenc.c b/libavformat/adtsenc.c index fa8bd70c04..260c5932a3 100644 --- a/libavformat/adtsenc.c +++ b/libavformat/adtsenc.c @@ -22,6 +22,7 @@ #include "libavcodec/get_bits.h" #include "libavcodec/put_bits.h" +#include "libavcodec/avcodec.h" #include "libavcodec/mpeg4audio.h" #include "avformat.h" @@ -63,7 +64,7 @@ static int decode_extradata(AVFormatContext *s, ADTSContext *adts, uint8_t *buf, return -1; } if (get_bits(&gb, 1)) { - av_log(s, AV_LOG_ERROR, "Signaled SBR or PS is not supported\n"); + av_log_missing_feature(s, "Signaled SBR or PS", 0); return -1; } if (!adts->channel_conf) {