From 2e2aacd5731f5bbb7d9968c55359fab6b1867cbd Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Wed, 11 Feb 2009 14:51:55 +0200 Subject: [PATCH] Fixed end of sequence NAL unit. --- femonh264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/femonh264.c b/femonh264.c index 43d1c0e..c0c6b35 100644 --- a/femonh264.c +++ b/femonh264.c @@ -13,7 +13,7 @@ #define NAL_SEI 0x06 // Supplemental Enhancement Information #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 #define IS_NAL_SEI(buf) (((buf)[0] == 0x00) && ((buf)[1] == 0x00) && ((buf)[2] == 0x01) && ((buf)[3] == NAL_SEI)) #define IS_NAL_SPS(buf) (((buf)[0] == 0x00) && ((buf)[1] == 0x00) && ((buf)[2] == 0x01) && ((buf)[3] == NAL_SPS))