]> git.sesse.net Git - vlc/commitdiff
MKV: force packetization of MPEG audio frames
authorSteve Lhomme <robUx4@videolabs.io>
Wed, 25 Feb 2015 15:01:08 +0000 (16:01 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 25 Feb 2015 18:38:55 +0000 (19:38 +0100)
Fixes #11479
The file has some MP3 frames, but the frames are not packetized correctly in the Matroska file (spec violation)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/demux/mkv/matroska_segment_parse.cpp

index d0bd4edfd04fee490418037aa20fb889a3d97f64..7f3bcb228638b94b6d775393fd730a2a0c6884fb 100644 (file)
@@ -1494,6 +1494,7 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
              !strcmp( p_tk->psz_codec, "A_MPEG/L1" ) )
     {
         p_tk->fmt.i_codec = VLC_CODEC_MPGA;
+        p_fmt->b_packetized = false;
     }
     else if( !strcmp( p_tk->psz_codec, "A_AC3" ) )
     {