mpegaudioparse: dummy data skip condition
Submitted by sangkyu.choi
Link to original bug (#752103)
Description
Created attachment 307048
add dummy data skip code
some file have a broken audio data(0xffff..)
it take a long time to playback.
because mpeg audio parser skip only one byte.
i think that it needs a condition for long dummy data skip.
mpeg audio parser detects sync-word and check frame header,
but this dummy doesn't match a right config and skip one bytes.
-
gst_mpeg_audio_parse_handle_frame -
/* make sure the values in the frame header look sane */
header = GST_READ_UINT32_BE (map.data);
if (!gst_mpeg_audio_parse_head_check (mp3parse, header)) {
*skipsize = 1;
goto cleanup;
}
Attachment 307048, "add dummy data skip code":
0001-mpegaudioparse-dummy-data-skip-condition.patch
Version: 1.2.4