Message ID | 20221127170351.11477-8-anton@khirnov.net |
---|---|
State | Accepted |
Commit | ce5b2d34b464f2089fdb949c175cdb53c3871d65 |
Headers | show |
Series | [FFmpeg-devel,01/30] lavc/libx264: factor out setting up the input frame | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 8b4b986f12..f0f8990cf9 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -478,12 +478,12 @@ static int setup_frame(AVCodecContext *ctx, const AVFrame *frame, goto fail; } - pic->extra_sei.sei_free = av_free; + pic->extra_sei.sei_free = av_free; - pic->extra_sei.payloads[0].payload_size = sei_size; - pic->extra_sei.payloads[0].payload = sei_data; - pic->extra_sei.num_payloads = 1; - pic->extra_sei.payloads[0].payload_type = 4; + pic->extra_sei.payloads[0].payload_size = sei_size; + pic->extra_sei.payloads[0].payload = sei_data; + pic->extra_sei.num_payloads = 1; + pic->extra_sei.payloads[0].payload_type = 4; } }