diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-01-22 11:59:41 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-01-22 13:31:16 +0100 |
commit | 53db591a2e2b1d8075aef96ef32a7c4d4a64111d (patch) | |
tree | 0280064b1c05b90d81b44341aa1d209ada2dd6d1 /libavcodec | |
parent | ff9bf372f7def1eea8819fa1c4268b0315d36b32 (diff) | |
download | ffmpeg-53db591a2e2b1d8075aef96ef32a7c4d4a64111d.tar.gz |
avcodec/videotoolboxenc: Fix SEI enum identifiers
Broken in 64b3aac8d07a8744656737619b70977359d9a6a5.
Tested-by: Mark Himsley <mark.himsley@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/videotoolboxenc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index a333a9a10c..c487d2dc60 100644 --- a/libavcodec/videotoolboxenc.c +++ b/libavcodec/videotoolboxenc.c @@ -1751,7 +1751,7 @@ static int copy_replace_length_codes( remaining_dst_size--; wrote_bytes = write_sei(sei, - SEI_TYPE_USER_DATA_REGISTERED, + SEI_TYPE_USER_DATA_REGISTERED_ITU_T_T35, dst_data, remaining_dst_size); @@ -1807,7 +1807,7 @@ static int copy_replace_length_codes( return status; wrote_bytes = write_sei(sei, - SEI_TYPE_USER_DATA_REGISTERED, + SEI_TYPE_USER_DATA_REGISTERED_ITU_T_T35, new_sei, remaining_dst_size - old_sei_length); if (wrote_bytes < 0) @@ -1903,7 +1903,7 @@ static int vtenc_cm_to_avpacket( if (sei) { size_t msg_size = get_sei_msg_bytes(sei, - SEI_TYPE_USER_DATA_REGISTERED); + SEI_TYPE_USER_DATA_REGISTERED_ITU_T_T35); sei_nalu_size = sizeof(start_code) + 1 + msg_size + 1; } |