[FFmpeg-cvslog] avcodec/hevc: fix duplicate/ wrong nal unit check and difference to openhevc_upstream

Mickaël Raulet git at videolan.org
Mon Oct 21 11:20:25 CEST 2013


ffmpeg | branch: master | Mickaël Raulet <mraulet at insa-rennes.fr> | Sun Oct 20 22:40:39 2013 +0200| [09ba986cae148f309683bc6588ab54050fe4130d] | committer: Michael Niedermayer

avcodec/hevc: fix duplicate/wrong nal unit check and difference to openhevc_upstream

NAL_BLA_W_RADL instead of NAL_BLA_N_LP

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=09ba986cae148f309683bc6588ab54050fe4130d
---

 libavcodec/hevc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index eb44862..a1e3ce4 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -1932,7 +1932,7 @@ static int decode_nal_unit(HEVCContext *s, const uint8_t *nal, int length)
             if (s->nal_unit_type == NAL_CRA_NUT  ||
                 s->nal_unit_type == NAL_BLA_W_LP ||
                 s->nal_unit_type == NAL_BLA_N_LP ||
-                s->nal_unit_type == NAL_BLA_N_LP) {
+                s->nal_unit_type == NAL_BLA_W_RADL) {
                 s->max_ra = s->poc;
             } else {
                 if (IS_IDR(s))



More information about the ffmpeg-cvslog mailing list