Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMickaƫl Raulet <mraulet@insa-rennes.fr>2013-10-16 01:04:25 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-10-16 03:48:11 +0400
commit64b3aaf8f6c260ebf3bb301c65b5043aa29a69eb (patch)
treed1885d55bb0dedcefaccb0600f02a65eba6e24b0 /libavcodec/hevc_refs.c
parent48e1114abf77dcfbbb6bcb08479c305d6246ae71 (diff)
hevc: fixing TSCL_A_VIDYO_5 decoding output order(cherry picked from commit 19c5d9ed28606e7a166d180fc9f1517cb174146f)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc_refs.c')
-rw-r--r--libavcodec/hevc_refs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc_refs.c b/libavcodec/hevc_refs.c
index 9de13359d8..9392a5a55e 100644
--- a/libavcodec/hevc_refs.c
+++ b/libavcodec/hevc_refs.c
@@ -168,7 +168,7 @@ int ff_hevc_output_frame(HEVCContext *s, AVFrame *out, int flush)
/* wait for more frames before output */
if (!flush && s->seq_output == s->seq_decode && s->sps &&
- nb_output <= s->sps->temporal_layer[s->temporal_id].num_reorder_pics)
+ nb_output <= s->sps->temporal_layer[s->sps->max_sub_layers - 1].num_reorder_pics)
return 0;
if (nb_output) {