mirror of https://git.ffmpeg.org/ffmpeg.git
More sane error message when extradata has not been set.
Originally committed as revision 20894 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
646eb55139
commit
b2cc8111d6
|
@ -950,7 +950,7 @@ static av_cold int vorbis_decode_init(AVCodecContext *avccontext)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!headers_len) {
|
if (!headers_len) {
|
||||||
av_log(avccontext, AV_LOG_ERROR, "Extradata corrupt.\n");
|
av_log(avccontext, AV_LOG_ERROR, "Extradata missing.\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue