changeset 1699:b959208ba904 libavformat

cosmetic
author michael
date Mon, 22 Jan 2007 01:21:16 +0000
parents 3590d0e5661b
children 77bd711c0aed
files asf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/asf.c	Mon Jan 22 01:16:42 2007 +0000
+++ b/asf.c	Mon Jan 22 01:21:16 2007 +0000
@@ -722,7 +722,7 @@
                 }
             }
             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;