OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edf7d15
)
avformat/asfdec: ignore packet_segments
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 24 Nov 2013 18:14:49 +0000
(19:14 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 24 Nov 2013 19:33:26 +0000
(20:33 +0100)
Fixes Ticket1708
Based on patch by Alberto Delmás
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/asfdec.c
patch
|
blob
|
history
diff --git
a/libavformat/asfdec.c
b/libavformat/asfdec.c
index
e4df32f
..
a9b0326
100644
(file)
--- a/
libavformat/asfdec.c
+++ b/
libavformat/asfdec.c
@@
-1122,8
+1122,7
@@
static int asf_parse_packet(AVFormatContext *s, AVIOContext *pb, AVPacket *pkt)
if (url_feof(pb))
return AVERROR_EOF;
- if (asf->packet_size_left < FRAME_HEADER_SIZE ||
- asf->packet_segments < 1) {
+ if (asf->packet_size_left < FRAME_HEADER_SIZE) {
int ret = asf->packet_size_left + asf->packet_padsize;
assert(ret >= 0);