projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a663d8
)
* Every frame is a key_frame
author
Philip Gladstone
<philipjsg@users.sourceforge.net>
Thu, 9 May 2002 01:22:51 +0000
(
01:22
+0000)
committer
Philip Gladstone
<philipjsg@users.sourceforge.net>
Thu, 9 May 2002 01:22:51 +0000
(
01:22
+0000)
Originally committed as revision 470 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/pcm.c
patch
|
blob
|
history
diff --git
a/libavcodec/pcm.c
b/libavcodec/pcm.c
index
a3895f5
..
83982de
100644
(file)
--- a/
libavcodec/pcm.c
+++ b/
libavcodec/pcm.c
@@
-237,6
+237,9
@@
static int encode_frame(AVCodecContext *avctx,
default:
return -1;
}
+ avctx->key_frame = 1;
+ avctx->frame_size = (dst - frame) / (sample_size * avctx->channels);
+
return dst - frame;
}