mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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:
parent
a55b8e9c00
commit
0253db6d36
1 changed files with 0 additions and 7 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue