aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-20 20:30:53 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-23 00:47:24 +0100
commitecd39520b83ecc2f10a884b6c2a5594247806601 (patch)
tree04f6a52a9651dd31996e24256d5d2559c36d68fa /libavcodec/h264.h
parent4b46ce8e91bdcf0726f669525609f77fc1a88472 (diff)
downloadffmpeg-ecd39520b83ecc2f10a884b6c2a5594247806601.tar.gz
avcodec/h264: Partially decode and display single fields try #2
This like the previous attempt does not fully correctly decode this type of non standard H.264, but it now works fully automatic requiring no manual filters or flags to be used See Ticket2254 Reviewed-by: Kieran Kunhya <kierank@obe.tv> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 2d8e1375a2..cf4998fe09 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -740,6 +740,8 @@ typedef struct H264Context {
int has_recovery_point;
+ int missing_fields;
+
int luma_weight_flag[2]; ///< 7.4.3.2 luma_weight_lX_flag
int chroma_weight_flag[2]; ///< 7.4.3.2 chroma_weight_lX_flag