aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-24 05:26:37 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-26 03:03:59 +0100
commit9e0c16fcc37b700ec2a4f3a332e120add25daf75 (patch)
tree20414280273f2991284e2adc6fe202a77c6b9a4b
parent1897286d05506007e5c57e0ea7a3af246fad4fee (diff)
downloadffmpeg-9e0c16fcc37b700ec2a4f3a332e120add25daf75.tar.gz
avformat/libgme: Remove redundant setting of packet size
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavformat/libgme.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/libgme.c b/libavformat/libgme.c
index ad59971fcd..a9c487bdb4 100644
--- a/libavformat/libgme.c
+++ b/libavformat/libgme.c
@@ -166,7 +166,6 @@ static int read_packet_gme(AVFormatContext *s, AVPacket *pkt)
if (gme_play(gme->music_emu, n_samples, (short *)pkt->data))
return AVERROR_EXTERNAL;
- pkt->size = AUDIO_PKT_SIZE;
return 0;
}