h264_sei: name buffering period type consistently

This commit is contained in:
Vittorio Giovara
2014-02-14 05:08:47 +01:00
parent 15210354cf
commit 304e916a92
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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;