On Sun, 20 Jul 2014 14:49:05 +0200, j...@v2v.cc wrote:
> On 07/20/2014 01:41 PM, Anton Khirnov wrote:
> >> @@ -681,7 +681,7 @@ static int mkv_write_track(AVFormatContext *s, 
> >> MatroskaMuxContext *mkv,
> >>      if ((tag = av_dict_get(st->metadata, "title", NULL, 0)))
> >>          put_ebml_string(pb, MATROSKA_ID_TRACKNAME, tag->value);
> >>      tag = av_dict_get(st->metadata, "language", NULL, 0);
> >> -    put_ebml_string(pb, MATROSKA_ID_TRACKLANGUAGE, tag ? 
> >> tag->value:"und");
> >> +    put_ebml_string(pb, MATROSKA_ID_TRACKLANGUAGE, tag && tag->value ? 
> >> tag->value:"und");
> > 
> > When does this happen? Tags with NULL values sound like a bug to me.
> > 
> 
> This happened converting some mpeg ts file that was created with avidemux:
> 
>  Stream #0.0[0x44](): Video: mpeg2video (Main), yuv420p, 704x480 [PAR
> 10:11 DAR 4:3], 8000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc

Could you share the sample?
This really sounds like a bug elsewhere that should be fixed.

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

Reply via email to