On Mon, 18 Jun 2012, Luca Barbato wrote:
On 06/18/2012 10:40 AM, Martin Storsjö wrote:
+ case CODEC_ID_ILBC:
+ if (!st->codec->block_align) {
+ av_log(s1, AV_LOG_ERROR, "No iLBC block size specified\n");
+ goto fail;
+ }
who's setting this value? shall we check it is one of the two supported
one? Can we have a fallback instead of an error?
It's set by the demuxer (if doing stream copy) or by the encoder - if it
isn't set, the data is unparsable.
I guess I could make this check stricter to check for the two supported
values.
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel