aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/asf.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-01-22 01:21:16 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-01-22 01:21:16 +0000
commitb83e83b915d79a5ff9b71b75e7dfcb20851b6adf (patch)
treefadba241032610a13f11f09582e491c82c3f4581 /libavformat/asf.c
parent98cc3cea333f341390ef53e1ac26d52899a30eea (diff)
downloadffmpeg-b83e83b915d79a5ff9b71b75e7dfcb20851b6adf.tar.gz
cosmetic
Originally committed as revision 7639 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/asf.c')
-rw-r--r--libavformat/asf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c
index 09524d8d00..217ed57196 100644
--- 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;