[FFmpeg-cvslog] lavc/libx264: replace ITU-T T35(A/53 CC) SEI type by enum value

Jun Zhao git at videolan.org
Sun Aug 27 18:32:04 EEST 2023


ffmpeg | branch: master | Jun Zhao <mypopydev at gmail.com> | Tue Aug 15 17:56:13 2023 +0800| [c48ec95ba310fa7debb317b8790b387b6256d2c5] | committer: Jun Zhao

lavc/libx264: replace ITU-T T35(A/53 CC) SEI type by enum value

replace ITU-T T35(A/53 CC) SEI type by enum value

Reviewed-by: Kieran Kunhya <kierank at obe.tv>
Signed-off-by: Jun Zhao <barryjzhao at tencent.com>

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

 libavcodec/libx264.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 1a7dc7bdd5..ce849d6c9a 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -563,7 +563,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
 
             sei->payloads[0].payload_size = sei_size;
             sei->payloads[0].payload      = sei_data;
-            sei->payloads[0].payload_type = 4;
+            sei->payloads[0].payload_type = SEI_TYPE_USER_DATA_REGISTERED_ITU_T_T35;
             sei->num_payloads = 1;
         }
     }



More information about the ffmpeg-cvslog mailing list