# HG changeset patch # User alexc # Date 1246315687 0 # Node ID cc9c5e6b8ccfe5042891d94a8d9d1c8d43f13ec1 # Parent 78acb97d1ac5d62f044ff6e78f1bec20a05588c9 Use av_log_missing_feature in the ADTS encoder. (Pseudo reverts r19173). diff -r 78acb97d1ac5 -r cc9c5e6b8ccf adtsenc.c --- a/adtsenc.c Mon Jun 29 18:49:15 2009 +0000 +++ b/adtsenc.c Mon Jun 29 22:48:07 2009 +0000 @@ -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 @@ 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) {