]> git.sesse.net Git - ffmpeg/commit
h264: store {curr,max}_pic_num in the per-slice context
authorAnton Khirnov <anton@khirnov.net>
Tue, 17 May 2016 14:45:15 +0000 (16:45 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 21 Jun 2016 09:09:21 +0000 (11:09 +0200)
commitdebca90863e4ee53447efd02483c500f89766384
tree975ff0f16546c0cad05df07ca1c17f1ff5393018
parentf966498e433fead2f5e6b5b66fad2ac062146d22
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.
libavcodec/h264.h
libavcodec/h264_refs.c
libavcodec/h264_slice.c