More sane error message when extradata has not been set.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 18 Dec 2009 15:50:39 +0000 (15:50 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 18 Dec 2009 15:50:39 +0000 (15:50 +0000)
Originally committed as revision 20894 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vorbis_dec.c

index b8e6632..93fafc1 100644 (file)
@@ -950,7 +950,7 @@ static av_cold int vorbis_decode_init(AVCodecContext *avccontext)
     }
 
     if (!headers_len) {
-        av_log(avccontext, AV_LOG_ERROR, "Extradata corrupt.\n");
+        av_log(avccontext, AV_LOG_ERROR, "Extradata missing.\n");
         return -1;
     }