[FFmpeg-cvslog] hevc: fix temporal_id( cherry picked from commit 5eac0df49d33bef7f3ffc5efde19839dddb554e8)

Mickaël Raulet git at videolan.org
Sat Nov 2 00:58:01 CET 2013


ffmpeg | branch: master | Mickaël Raulet <mraulet at insa-rennes.fr> | Thu Oct 31 23:51:08 2013 +0100| [38612379bffe371d2e21b876b80c335bb468c2fa] | committer: Michael Niedermayer

hevc: fix temporal_id(cherry picked from commit 5eac0df49d33bef7f3ffc5efde19839dddb554e8)

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

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

 libavcodec/hevc.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index 97fedd5..e88798b 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -459,11 +459,11 @@ static int hls_slice_header(HEVCContext *s)
         /* 8.3.1 */
         if (s->temporal_id == 0 &&
             s->nal_unit_type != NAL_TRAIL_N &&
-            s->nal_unit_type != NAL_TSA_N &&
-            s->nal_unit_type != NAL_STSA_N &&
-            s->nal_unit_type != NAL_TRAIL_N &&
-            s->nal_unit_type != NAL_RADL_N &&
-            s->nal_unit_type != NAL_RADL_R &&
+            s->nal_unit_type != NAL_TSA_N   &&
+            s->nal_unit_type != NAL_STSA_N  &&
+            s->nal_unit_type != NAL_RADL_N  &&
+            s->nal_unit_type != NAL_RADL_R  &&
+            s->nal_unit_type != NAL_RASL_N  &&
             s->nal_unit_type != NAL_RASL_R)
             s->pocTid0 = s->poc;
 



More information about the ffmpeg-cvslog mailing list