mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-09 08:39:41 +00:00
avformat/libgme: Remove redundant setting of packet size
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
1897286d05
commit
9e0c16fcc3
@ -166,7 +166,6 @@ static int read_packet_gme(AVFormatContext *s, AVPacket *pkt)
|
|||||||
|
|
||||||
if (gme_play(gme->music_emu, n_samples, (short *)pkt->data))
|
if (gme_play(gme->music_emu, n_samples, (short *)pkt->data))
|
||||||
return AVERROR_EXTERNAL;
|
return AVERROR_EXTERNAL;
|
||||||
pkt->size = AUDIO_PKT_SIZE;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user