diff options
author | Mickaƫl Raulet <mraulet@insa-rennes.fr> | 2013-10-30 12:28:19 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-31 10:00:22 +0100 |
commit | 7c8b65f688ea75496e278b7c042f2eda746f3eac (patch) | |
tree | ef99499ade9ade6e460b865301944648d6b725d5 /libavcodec/hevc_parser.c | |
parent | 6c4b87d3d6ae08a6da16b4616626b4d2a726afbf (diff) | |
download | ffmpeg-7c8b65f688ea75496e278b7c042f2eda746f3eac.tar.gz |
hevc: add partial support for interlaced(cherry picked from commit 44b592ae6d323445c076ef3ec966ebf9daa8bccf)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc_parser.c')
-rw-r--r-- | libavcodec/hevc_parser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/hevc_parser.c b/libavcodec/hevc_parser.c index 642f9752a4..aacf3431dc 100644 --- a/libavcodec/hevc_parser.c +++ b/libavcodec/hevc_parser.c @@ -165,6 +165,8 @@ static inline int parse_nal_units(AVCodecParserContext *s, case NAL_IDR_N_LP: case NAL_CRA_NUT: sh->first_slice_in_pic_flag = get_bits1(gb); + s->picture_structure = h->picture_struct; + s->field_order = h->picture_struct; if (h->nal_unit_type >= 16 && h->nal_unit_type <= 23) { s->key_frame = 1; |