On 11/05/15 18:23, Vittorio Giovara wrote:
> ---
>  libavformat/matroskadec.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
> index 93cd4bb..e3bffcd 100644
> --- a/libavformat/matroskadec.c
> +++ b/libavformat/matroskadec.c
> @@ -1608,6 +1608,12 @@ static int matroska_parse_tracks(AVFormatContext *s)
>              track->video.fourcc = AV_RL32(track->codec_priv.data);
>              codec_id            = ff_codec_get_id(ff_codec_movvideo_tags,
>                                                    track->video.fourcc);
> +            if (codec_id == AV_CODEC_ID_NONE) {
> +                char buf[16];
> +                av_get_codec_tag_string(buf, 16, track->video.fourcc);
> +                av_log(matroska->ctx, AV_LOG_ERROR,
> +                       "mov FourCC not found %s.\n", buf);
> +            }
>          } else if (codec_id == AV_CODEC_ID_PCM_S16BE) {
>              switch (track->audio.bitdepth) {
>              case  8:
> 

Ok.
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to