mpegaudioparse: remove dead code

A stricer check is already done earlier, and integer overflows
do not seem possible here.

Coverity 1139675
This commit is contained in:
Vincent Penquerc'h 2014-04-30 17:48:53 +01:00
parent a55b8e9c00
commit 0253db6d36

View file

@ -1088,13 +1088,6 @@ gst_mpeg_audio_parse_handle_first_frame (GstMpegAudioParse * mp3parse,
goto out_vbri;
}
if (avail < offset_vbri + 26) {
GST_DEBUG_OBJECT (mp3parse,
"Not enough data to read VBRI header (need %d)",
offset_vbri + 26 + nseek_points * seek_bytes);
goto cleanup;
}
data = map.data;
data += offset_vbri + 26;