changeset 372:19b6a1fa6f6d libavcodec

* Every frame is a key_frame
author philipjsg
date Thu, 09 May 2002 01:22:51 +0000
parents 8187bb132d85
children 3007abcbc510
files pcm.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pcm.c	Thu May 09 01:22:30 2002 +0000
+++ b/pcm.c	Thu May 09 01:22:51 2002 +0000
@@ -237,6 +237,9 @@
     default:
         return -1;
     }
+    avctx->key_frame = 1;
+    avctx->frame_size = (dst - frame) / (sample_size * avctx->channels);
+
     return dst - frame;
 }