aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/asfdec.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2011-11-14 15:18:49 +0100
committerLuca Barbato <lu_zero@gentoo.org>2011-12-02 11:11:47 +0100
commit73f027c17b0063233ec80e86a6b74ea4df6705c2 (patch)
tree2982cd51d260ae1a8951795d260e980836506885 /libavformat/asfdec.c
parent30266038bdfdecd244edbd91f19e19cb159a74ab (diff)
downloadffmpeg-73f027c17b0063233ec80e86a6b74ea4df6705c2.tar.gz
asf: do not call av_read_frame
The asf_read_pts should read the bitstream directly.
Diffstat (limited to 'libavformat/asfdec.c')
-rw-r--r--libavformat/asfdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index 4c9c59d606..49a9b1d539 100644
--- 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 (av_read_frame(s, pkt) < 0){
+ if (asf_read_packet(s, pkt) < 0){
av_log(s, AV_LOG_INFO, "asf_read_pts failed\n");
return AV_NOPTS_VALUE;
}