From: Sreerenj Balachandran <[email protected]>

The nal_unit_type 21 is reserved, don't take this into account
while doing the nal unit header bytes counting.
---
 src/gen6_mfc_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gen6_mfc_common.c b/src/gen6_mfc_common.c
index fe41dac..e68528e 100644
--- a/src/gen6_mfc_common.c
+++ b/src/gen6_mfc_common.c
@@ -494,7 +494,7 @@ static int intel_avc_find_skipemulcnt(unsigned char *buf, 
int bits_length)
     nal_unit_type = (buf[skip_cnt]) & NAL_UNIT_TYPE_MASK;
     skip_cnt += 1;
 
-    if (nal_unit_type == 14 || nal_unit_type == 20 || nal_unit_type == 21) {
+    if (nal_unit_type == 14 || nal_unit_type == 20) {
         /* more unit header bytes are accounted for MVC/SVC */
         skip_cnt += 3;
     }
-- 
1.9.1

_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to