[Ffmpeg-cvslog] r5772 - trunk/libavcodec/vp3.c
michael
subversion
Sun Jul 16 23:00:38 CEST 2006
Author: michael
Date: Sun Jul 16 23:00:38 2006
New Revision: 5772
Modified:
trunk/libavcodec/vp3.c
Log:
useless memcpy
Modified: trunk/libavcodec/vp3.c
==============================================================================
--- trunk/libavcodec/vp3.c (original)
+++ trunk/libavcodec/vp3.c Sun Jul 16 23:00:38 2006
@@ -2485,7 +2485,7 @@
}
/* golden frame is also the current frame */
- memcpy(&s->current_frame, &s->golden_frame, sizeof(AVFrame));
+ s->current_frame= s->golden_frame;
/* time to figure out pixel addresses? */
if (!s->pixel_addresses_inited)
@@ -2581,7 +2581,7 @@
avctx->release_buffer(avctx, &s->last_frame);
/* shuffle frames (last = current) */
- memcpy(&s->last_frame, &s->current_frame, sizeof(AVFrame));
+ s->last_frame= s->current_frame;
s->current_frame.data[0]= NULL; /* ensure that we catch any access to this released frame */
return buf_size;
More information about the ffmpeg-cvslog
mailing list