diff mbox series

[FFmpeg-devel,5/6] avformat/libgme: Remove redundant setting of packet size

Message ID 20210324054043.1729328-5-andreas.rheinhardt@gmail.com
State Accepted
Commit 9e0c16fcc37b700ec2a4f3a332e120add25daf75
Headers show
Series [FFmpeg-devel,1/6] avformat/jacosubdec: Fix leak on error
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt March 24, 2021, 5:40 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavformat/libgme.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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;
 }