h264: move the block starting a new field out of slice_header_parse()
There is no bitstream parsing in that block and messing with decoder-global state is not something that belongs into header parsing. Nothing else in this function depends on the value of current_slice, except for two validity checks. Those checks are also moved out of slice_header_parse().
Showing
Please
register
or
sign in
to comment