diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-05-17 16:45:15 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-06-21 11:09:21 +0200 |
commit | debca90863e4ee53447efd02483c500f89766384 (patch) | |
tree | 975ff0f16546c0cad05df07ca1c17f1ff5393018 /libavcodec/pngdec.c | |
parent | f966498e433fead2f5e6b5b66fad2ac062146d22 (diff) | |
download | ffmpeg-debca90863e4ee53447efd02483c500f89766384.tar.gz |
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.
Diffstat (limited to 'libavcodec/pngdec.c')
0 files changed, 0 insertions, 0 deletions