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:
76dad83
)
avformat/asfdec: reset packet_time_start when asf_read_frame_header() failed
author
Alberto Delmás
<adelmas@gmail.com>
Sun, 24 Nov 2013 19:32:31 +0000
(20:32 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 24 Nov 2013 19:33:26 +0000
(20:33 +0100)
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
234838e
..
e4df32f
100644
(file)
--- a/
libavformat/asfdec.c
+++ b/
libavformat/asfdec.c
@@
-1138,7
+1138,7
@@
static int asf_parse_packet(AVFormatContext *s, AVIOContext *pb, AVPacket *pkt)
}
if (asf->packet_time_start == 0) {
if (asf_read_frame_header(s, pb) < 0) {
- asf->packet_segments = 0;
+ asf->packet_
time_start = asf->packet_
segments = 0;
continue;
}
if (asf->stream_index < 0 ||