diff h263dec.c @ 925:7fccaa0d699d libavcodec

AVVideoFrame -> AVFrame
author michaelni
date Mon, 09 Dec 2002 12:03:43 +0000
parents 3814e9115672
children 5627a7b7ce83
line wrap: on
line diff
--- a/h263dec.c	Mon Dec 09 00:29:17 2002 +0000
+++ b/h263dec.c	Mon Dec 09 12:03:43 2002 +0000
@@ -349,7 +349,7 @@
 {
     MpegEncContext *s = avctx->priv_data;
     int ret,i;
-    AVVideoFrame *pict = data; 
+    AVFrame *pict = data; 
     float new_aspect;
     
 #ifdef PRINT_FRAME_TIME
@@ -676,9 +676,9 @@
 }
 #endif
     if(s->pict_type==B_TYPE || s->low_delay){
-        *pict= *(AVVideoFrame*)&s->current_picture;
+        *pict= *(AVFrame*)&s->current_picture;
     } else {
-        *pict= *(AVVideoFrame*)&s->last_picture;
+        *pict= *(AVFrame*)&s->last_picture;
     }
 
     /* Return the Picture timestamp as the frame number */
@@ -687,7 +687,7 @@
 
     /* dont output the last pic after seeking */
     if(s->last_picture.data[0] || s->low_delay)
-        *data_size = sizeof(AVVideoFrame);
+        *data_size = sizeof(AVFrame);
 #ifdef PRINT_FRAME_TIME
 printf("%Ld\n", rdtsc()-time);
 #endif