aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264dec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2023-10-17 19:32:34 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2023-11-20 00:19:25 +0100
commite56d91f8a8b5198b0464a44acc157176770409cd (patch)
tree715d782e75a4ed75fee63674e2dce422b0f28ad2 /libavcodec/h264dec.h
parent6364fa9e9a4b5712d817ae307d9ae07e149e2f79 (diff)
downloadffmpeg-e56d91f8a8b5198b0464a44acc157176770409cd.tar.gz
avcodec/h264dec: Support skipping frames that used gray gap frames
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/h264dec.h')
-rw-r--r--libavcodec/h264dec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264dec.h b/libavcodec/h264dec.h
index 591769ab25..447c2499d9 100644
--- a/libavcodec/h264dec.h
+++ b/libavcodec/h264dec.h
@@ -572,6 +572,7 @@ typedef struct H264Context {
int non_gray; ///< Did we encounter a intra frame after a gray gap frame
int noref_gray;
+ int skip_gray;
} H264Context;
extern const uint16_t ff_h264_mb_sizes[4];