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:
3026603
)
asf: do not call av_read_frame
author
Luca Barbato
<lu_zero@gentoo.org>
Mon, 14 Nov 2011 14:18:49 +0000
(15:18 +0100)
committer
Luca Barbato
<lu_zero@gentoo.org>
Fri, 2 Dec 2011 10:11:47 +0000
(11:11 +0100)
The asf_read_pts should read the bitstream directly.
libavformat/asfdec.c
patch
|
blob
|
history
diff --git
a/libavformat/asfdec.c
b/libavformat/asfdec.c
index
4c9c59d
..
49a9b1d
100644
(file)
--- a/
libavformat/asfdec.c
+++ b/
libavformat/asfdec.c
@@
-1168,7
+1168,7
@@
static int64_t asf_read_pts(AVFormatContext *s, int stream_index, int64_t *ppos,
//printf("asf_read_pts\n");
asf_reset_header(s);
for(;;){
- if (a
v_read_frame
(s, pkt) < 0){
+ if (a
sf_read_packet
(s, pkt) < 0){
av_log(s, AV_LOG_INFO, "asf_read_pts failed\n");
return AV_NOPTS_VALUE;
}