Message ID | 20241025015245.35832-1-ezemtsov@google.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel] Fix incorrect enum type used for a local variable | expand |
Context | Check | Description |
---|---|---|
yinshiyou/commit_msg_loongarch64 | warning | The first line of the commit message must start with a context terminated by a colon and a space, for example "lavu/opt: " or "doc: ". |
andriy/commit_msg_x86 | warning | The first line of the commit message must start with a context terminated by a colon and a space, for example "lavu/opt: " or "doc: ". |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavcodec/decode.c b/libavcodec/decode.c index c331bb8596..fbb6be2971 100644 --- a/libavcodec/decode.c +++ b/libavcodec/decode.c @@ -1466,7 +1466,7 @@ static int side_data_map(AVFrame *dst, { for (int i = 0; map[i].packet < AV_PKT_DATA_NB; i++) { - const enum AVFrameSideDataType type_pkt = map[i].packet; + const enum AVPacketSideDataType type_pkt = map[i].packet; const enum AVFrameSideDataType type_frame = map[i].frame; const AVPacketSideData *sd_pkt; AVFrameSideData *sd_frame;