changeset 5079:cc9c5e6b8ccf libavformat

Use av_log_missing_feature in the ADTS encoder. (Pseudo reverts r19173).
author alexc
date Mon, 29 Jun 2009 22:48:07 +0000
parents 78acb97d1ac5
children 7c69c9335983
files adtsenc.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) {