tor 2018-05-31 klockan 02:05 +0200 skrev Marton Balint:
> > Signed-off-by: Marton Balint <c...@passwd.hu>
> ---
>  libavformat/mxfdec.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> +            type = avcodec_get_type(st->codecpar->codec_id);
> +            if (type == AVMEDIA_TYPE_SUBTITLE)
> +                st->codecpar->codec_type = type;

This feels like something that belongs in more generic parts of lavf.
Filling codecpar with defaults for some given codec_id that is.

/Tomas
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to