projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98cc3ce
)
cosmetic
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 22 Jan 2007 01:21:16 +0000
(
01:21
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 22 Jan 2007 01:21:16 +0000
(
01:21
+0000)
Originally committed as revision 7639 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/asf.c
patch
|
blob
|
history
diff --git
a/libavformat/asf.c
b/libavformat/asf.c
index
09524d8
..
217ed57
100644
(file)
--- a/
libavformat/asf.c
+++ b/
libavformat/asf.c
@@
-722,7
+722,7
@@
static int asf_read_packet(AVFormatContext *s, AVPacket *pkt)
}
}
asf_st->frag_offset = 0;
-
memcpy(pkt, &asf_st->pkt, sizeof(AVPacket))
;
+
*pkt= asf_st->pkt
;
//printf("packet %d %d\n", asf_st->pkt.size, asf->packet_frag_size);
asf_st->pkt.size = 0;
asf_st->pkt.data = 0;