This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
gsm demuxer: do not allocate packet twice.
fixes memleak with raw gsm demuxing.
tags/n0.9
Justin Ruggles
14 years ago
parent
905de11907
commit
894bc1d322
1 changed files
with
0 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-3
libavformat/gsmdec.c
+ 0
- 3
libavformat/gsmdec.c
View File
@@ -38,9 +38,6 @@ static int gsm_read_packet(AVFormatContext *s, AVPacket *pkt)
size = GSM_BLOCK_SIZE * 32;
if (av_new_packet(pkt, size) < 0)
return AVERROR(ENOMEM);
pkt->pos = avio_tell(s->pb);
pkt->stream_index = 0;
Write
Preview
Loading…
Cancel
Save