• Anton Khirnov's avatar
    h264: store {curr,max}_pic_num in the per-slice context · debca908
    Anton Khirnov authored
    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.
    debca908
h264_refs.c 27.2 KB