h264: store {curr,max}_pic_num in the per-slice context
While the value of those variables will be constant for the whole frame, they are only used in two functions called from slice header decoding. Moving them to the per-slice context allows us to make the H264Context passed to slice_header_parse() constant.
Showing
Please
register
or
sign in
to comment