diff avienc.c @ 7:47e502ac6349 libavformat

AVVideoFrame -> AVFrame
author michaelni
date Mon, 09 Dec 2002 12:03:43 +0000
parents 39c4c4336486
children 4d872c573360
line wrap: on
line diff
--- a/avienc.c	Mon Dec 09 02:53:55 2002 +0000
+++ b/avienc.c	Mon Dec 09 12:03:43 2002 +0000
@@ -320,7 +320,7 @@
     if (enc->codec_type == CODEC_TYPE_VIDEO) {
         tag[2] = 'd';
         tag[3] = 'c';
-        flags = enc->coded_picture->key_frame ? 0x10 : 0x00;
+        flags = enc->coded_frame->key_frame ? 0x10 : 0x00;
     } else {
         tag[2] = 'w';
         tag[3] = 'b';