]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/cavsdec.c
ARM: NEON optimised vector_fmul_window
[ffmpeg] / libavcodec / cavsdec.c
index 38a76816475c403da06aaf6df93852e0d2efdc12..a964be786da5898fc26329c4e88e74e3d805ac90 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 /**
- * @file cavs.c
+ * @file cavsdec.c
  * Chinese AVS video (AVS1-P2, JiZhun profile) decoder
  * @author Stefan Gehrer <stefan.gehrer@gmx.de>
  */
@@ -567,8 +567,8 @@ static int decode_pic(AVSContext *h) {
     if(h->pic_type != FF_B_TYPE) {
         if(h->DPB[1].data[0])
             s->avctx->release_buffer(s->avctx, (AVFrame *)&h->DPB[1]);
-        memcpy(&h->DPB[1], &h->DPB[0], sizeof(Picture));
-        memcpy(&h->DPB[0], &h->picture, sizeof(Picture));
+        h->DPB[1] = h->DPB[0];
+        h->DPB[0] = h->picture;
         memset(&h->picture,0,sizeof(Picture));
     }
     return 0;