sfan5:
> Hi,
>
>
> attached v2 patch after discussion on IRC with JEEB (as he already
> mentioned).
>
> Only change is that the log level turns to debug when missing parameter
> sets are within spec (cf. 14496-15).
>
>
> - av_log(avctx, AV_LOG_ERROR, "Could not extract PPS/SPS from
> extradata");
> - ret = AVERROR_INVALIDDATA;
> + const int warn = is_avc && avctx->codec_tag !=
> MKTAG('a','v','c','1') &&
> + avctx->codec_tag != MKTAG('a','v','c','2');
> + av_log(avctx, warn ? AV_LOG_WARNING : AV_LOG_DEBUG,
> + "Could not extract PPS/SPS from extradata\n");
> + ret = 0;
> }
warn = is_avc && (avctx->codec_tag == MKTAG('a','v','c','1') ||
avctx->codec_tag == MKTAG('a','v','c','2')
is what you (should) want.
- Andreas
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".