mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 12:15:19 +00:00
h264parse: remove redundant code
... now that what should not be needed is really not needed anymore to cover up bogus stuff that has been FIXMEd.
This commit is contained in:
parent
7fae33a661
commit
1f3b4ad574
1 changed files with 1 additions and 5 deletions
|
@ -707,12 +707,8 @@ gst_h264_parse_check_valid_frame (GstBaseParse * parse,
|
||||||
}
|
}
|
||||||
|
|
||||||
end:
|
end:
|
||||||
/* FIXME this shouldnt be needed */
|
|
||||||
if (h264parse->nalu.sc_offset > 0 && data[h264parse->nalu.sc_offset - 1] == 0)
|
|
||||||
h264parse->nalu.sc_offset--;
|
|
||||||
|
|
||||||
*skipsize = h264parse->nalu.sc_offset;
|
*skipsize = h264parse->nalu.sc_offset;
|
||||||
*framesize = nalu.offset + nalu.size - h264parse->nalu.sc_offset; /* CHECKME */
|
*framesize = nalu.offset + nalu.size - h264parse->nalu.sc_offset;
|
||||||
h264parse->current_off = current_off;
|
h264parse->current_off = current_off;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue