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:
parent
9328e07ad5
commit
5b2ee11a60
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue