diff options
author | Anton Khirnov <anton@khirnov.net> | 2017-07-22 14:52:27 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2017-07-26 23:23:13 +0200 |
commit | 45c4bf3df03ef53ae61fa1473424d4ae024f22e4 (patch) | |
tree | 2cdc3cf57d5a91ddb41348822896221e5e1cfaa0 /libavcodec/h264dec.h | |
parent | 45df7adc1d9b7e8fbae5af9328baa6ab3562002b (diff) | |
download | ffmpeg-45c4bf3df03ef53ae61fa1473424d4ae024f22e4.tar.gz |
h264dec: track the last seen value of x264_build
Do not use the one in the SEI directly as that is reset at certain
points.
Inspired by patches from Michael Niedermayer <michaelni@gmx.at> and
Anton Mitrofanov <BugMaster@narod.ru>.
CC: libav-stable@libav.org
Diffstat (limited to 'libavcodec/h264dec.h')
-rw-r--r-- | libavcodec/h264dec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264dec.h b/libavcodec/h264dec.h index fc7beeb994..ddfe224e93 100644 --- a/libavcodec/h264dec.h +++ b/libavcodec/h264dec.h @@ -361,6 +361,7 @@ typedef struct H264Context { int context_initialized; int flags; int workaround_bugs; + int x264_build; /* Set when slice threading is used and at least one slice uses deblocking * mode 1 (i.e. across slice boundaries). Then we disable the loop filter * during normal MB decoding and execute it serially at the end. |