mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
avcodec/decode: Fix incorrect enum type used in side_data_map()
It's AVPacketSideDataType, not AVFrameSideDataType.
Reviewed-by: Ted (Chromium) Meyer <tmathmeyer@chromium.org>
Reviewed-by: Marth64 <marth64@proxyid.net>
Signed-off-by: Marth64 <marth64@proxyid.net>
(cherry picked from commit e9c3698ed2)
This commit is contained in:
+2
-2
@@ -1466,8 +1466,8 @@ 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 AVFrameSideDataType type_frame = map[i].frame;
|
||||
const enum AVPacketSideDataType type_pkt = map[i].packet;
|
||||
const enum AVFrameSideDataType type_frame = map[i].frame;
|
||||
const AVPacketSideData *sd_pkt;
|
||||
AVFrameSideData *sd_frame;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user