[FFmpeg-cvslog] h264_sei: name buffering period type consistently

Vittorio Giovara git at videolan.org
Fri Feb 14 14:18:02 CET 2014


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Thu Feb 13 02:26:04 2014 +0100| [304e916a92bc17385a485bec2f957e192257ddb6] | committer: Vittorio Giovara

h264_sei: name buffering period type consistently

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

 libavcodec/h264.h     |    2 +-
 libavcodec/h264_sei.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 21b7996..f29bc6a 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -120,7 +120,7 @@ enum {
  * SEI message types
  */
 typedef enum {
-    SEI_BUFFERING_PERIOD            = 0,   ///< buffering period (H.264, D.1.1)
+    SEI_TYPE_BUFFERING_PERIOD       = 0,   ///< buffering period (H.264, D.1.1)
     SEI_TYPE_PIC_TIMING             = 1,   ///< picture timing
     SEI_TYPE_USER_DATA_UNREGISTERED = 5,   ///< unregistered user data
     SEI_TYPE_RECOVERY_POINT         = 6,   ///< recovery point (frame # to decoder sync)
diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c
index 28e044d..2e4017b 100644
--- a/libavcodec/h264_sei.c
+++ b/libavcodec/h264_sei.c
@@ -238,7 +238,7 @@ int ff_h264_decode_sei(H264Context *h)
             if (ret < 0)
                 return ret;
             break;
-        case SEI_BUFFERING_PERIOD:
+        case SEI_TYPE_BUFFERING_PERIOD:
             ret = decode_buffering_period(h);
             if (ret < 0)
                 return ret;



More information about the ffmpeg-cvslog mailing list