[FFmpeg-cvslog] avformat/libgme: Remove redundant setting of packet size
Andreas Rheinhardt
git at videolan.org
Fri Mar 26 04:30:37 EET 2021
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Wed Mar 24 05:26:37 2021 +0100| [9e0c16fcc37b700ec2a4f3a332e120add25daf75] | committer: Andreas Rheinhardt
avformat/libgme: Remove redundant setting of packet size
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9e0c16fcc37b700ec2a4f3a332e120add25daf75
---
libavformat/libgme.c | 1 -
1 file changed, 1 deletion(-)
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;
}
More information about the ffmpeg-cvslog
mailing list