From b83e83b915d79a5ff9b71b75e7dfcb20851b6adf Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 22 Jan 2007 01:21:16 +0000 Subject: [PATCH] cosmetic Originally committed as revision 7639 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/asf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/asf.c b/libavformat/asf.c index 09524d8..217ed57 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; -- 2.7.4