Commit 9fc8d0d7 authored by alexc's avatar alexc

Use ff_log_missing_feature in the ADTS encoder.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19299 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cb732678
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include "libavcodec/get_bits.h" #include "libavcodec/get_bits.h"
#include "libavcodec/put_bits.h" #include "libavcodec/put_bits.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/mpeg4audio.h" #include "libavcodec/mpeg4audio.h"
#include "avformat.h" #include "avformat.h"
...@@ -63,7 +64,7 @@ static int decode_extradata(AVFormatContext *s, ADTSContext *adts, uint8_t *buf, ...@@ -63,7 +64,7 @@ static int decode_extradata(AVFormatContext *s, ADTSContext *adts, uint8_t *buf,
return -1; return -1;
} }
if (get_bits(&gb, 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; return -1;
} }
if (!adts->channel_conf) { if (!adts->channel_conf) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment