[FFmpeg-devel] [PATCH] avcodec/ac3: add support for dependent stream

James Almer jamrial at gmail.com
Tue Mar 27 17:14:24 EEST 2018


On 3/27/2018 8:57 AM, Paul B Mahol wrote:
> @@ -1511,7 +1534,7 @@ static int ac3_decode_frame(AVCodecContext * avctx, void *data,
>              break;
>          case AAC_AC3_PARSE_ERROR_FRAME_TYPE:
>              /* skip frame if CRC is ok. otherwise use error concealment. */
> -            /* TODO: add support for substreams and dependent frames */
> +            /* TODO: add support for substreams */
>              if (s->frame_type == EAC3_FRAME_TYPE_DEPENDENT || s->substreamid) {
>                  av_log(avctx, AV_LOG_DEBUG,
>                         "unsupported frame type %d: skipping frame\n",

Shouldn't you also change the check below the TODO?


More information about the ffmpeg-devel mailing list