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

mypopy at gmail.com mypopy at gmail.com
Sun Aug 27 04:54:22 EEST 2023


On Sat, Aug 26, 2023 at 2:40 PM Kieran Kunhya <kierank at obe.tv> wrote:
>
> On Sat, 26 Aug 2023 at 07:32, Jun Zhao <mypopydev at gmail.com> wrote:
>
> > replace ITU-T T35(A/53 CC) SEI type by enum value
> >
> > Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
> > ---
> >  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;
> >          }
> >      }
> > --
> > 2.25.1
> >
>
> LGTM
thx,will apply


More information about the ffmpeg-devel mailing list