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
lavf: zero data/size of the packet passed to read_packet().
tags/n1.0
Anton Khirnov
12 years ago
parent
8995d34972
commit
1cc569ddda
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavformat/utils.c
+ 2
- 0
libavformat/utils.c
View File
@@ -671,6 +671,8 @@ int ff_read_packet(AVFormatContext *s, AVPacket *pkt)
}
}
pkt->data = NULL;
pkt->size = 0;
av_init_packet(pkt);
ret= s->iformat->read_packet(s, pkt);
if (ret < 0) {
Write
Preview
Loading…
Cancel
Save