summaryrefslogtreecommitdiff
path: root/libavcodec/hevc.c
diff options
context:
space:
mode:
authorMickaƫl Raulet <mraulet@insa-rennes.fr>2013-10-30 12:28:19 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-10-31 10:00:22 +0100
commit7c8b65f688ea75496e278b7c042f2eda746f3eac (patch)
treeef99499ade9ade6e460b865301944648d6b725d5 /libavcodec/hevc.c
parent6c4b87d3d6ae08a6da16b4616626b4d2a726afbf (diff)
hevc: add partial support for interlaced(cherry picked from commit 44b592ae6d323445c076ef3ec966ebf9daa8bccf)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r--libavcodec/hevc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index aaf319f522..9528323992 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -2834,6 +2834,7 @@ static av_cold int hevc_decode_init(AVCodecContext *avctx)
return ret;
s->enable_parallel_tiles = 0;
+ s->picture_struct = 0;
if(avctx->active_thread_type & FF_THREAD_SLICE)
s->threads_number = avctx->thread_count;