summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/h264.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/h264.h b/tools/h264.h
index 3d6f1cae..a00f9da6 100644
--- a/tools/h264.h
+++ b/tools/h264.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: h264.h,v 1.6 2008-07-29 14:01:35 phintuka Exp $
+ * $Id: h264.h,v 1.7 2009-02-10 11:22:26 phintuka Exp $
*
*/
@@ -20,13 +20,13 @@ extern "C" {
#define NAL_SPS 0x07 /* Sequence Parameter Set */
#define NAL_AUD 0x09 /* Access Unit Delimiter */
-#define NAL_END_SEQ 0x10 /* End of Sequence */
+#define NAL_END_SEQ 0x0a /* End of Sequence */
#if defined(__i386__) || defined(__x86_64__)
# define IS_NAL_SPS(buf) (*(uint32_t*)(buf) == 0x07010000U)
# define IS_NAL_AUD(buf) (*(uint32_t*)(buf) == 0x09010000U)
-# define IS_NAL_END_SEQ(buf) (*(uint32_t*)(buf) == 0x10010000U)
+# define IS_NAL_END_SEQ(buf) (*(uint32_t*)(buf) == 0x0a010000U)
#else
# define IS_NAL_SPS(buf) ((buf)[0] == 0 && (buf)[1] == 0 && (buf)[2] == 1 && (buf)[3] == NAL_SPS)
# define IS_NAL_AUD(buf) ((buf)[0] == 0 && (buf)[1] == 0 && (buf)[2] == 1 && (buf)[3] == NAL_AUD)