[FFmpeg-cvslog] hevc: fixing TSCL_A_VIDYO_5 decoding output order( cherry picked from commit 19c5d9ed28606e7a166d180fc9f1517cb174146f)
Mickaël Raulet
git at videolan.org
Wed Oct 16 01:57:52 CEST 2013
ffmpeg | branch: master | Mickaël Raulet <mraulet at insa-rennes.fr> | Tue Oct 15 23:04:25 2013 +0200| [64b3aaf8f6c260ebf3bb301c65b5043aa29a69eb] | committer: Michael Niedermayer
hevc: fixing TSCL_A_VIDYO_5 decoding output order(cherry picked from commit 19c5d9ed28606e7a166d180fc9f1517cb174146f)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=64b3aaf8f6c260ebf3bb301c65b5043aa29a69eb
---
libavcodec/hevc_refs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/hevc_refs.c b/libavcodec/hevc_refs.c
index 9de1335..9392a5a 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) {
More information about the ffmpeg-cvslog
mailing list