cosmetic
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 22 Jan 2007 01:21:16 +0000 (01:21 +0000)
committerMichael 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

index 09524d8..217ed57 100644 (file)
@@ -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;