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
@ -1088,13 +1088,6 @@ gst_mpeg_audio_parse_handle_first_frame (GstMpegAudioParse * mp3parse,
|
|||||||
goto out_vbri;
|
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 = map.data;
|
||||||
data += offset_vbri + 26;
|
data += offset_vbri + 26;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user