diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-04-15 16:35:03 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-04-15 16:35:03 +0200 |
commit | cb8f5194b369f469dc04b78ada5f0e3a29f31b99 (patch) | |
tree | 07f7e1cbc9dbfbf8728a1990033d3c9573aa26fc /libavcodec | |
parent | 8cb9f99e9fbdbc92c82f00f9a679542bac87558c (diff) | |
download | ffmpeg-cb8f5194b369f469dc04b78ada5f0e3a29f31b99.tar.gz |
Set bits_per_coded_sample when encoding Microsoft Video-1.
Fixes ticket #1193.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/msvideo1enc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/msvideo1enc.c b/libavcodec/msvideo1enc.c index aa3c26a62d..96fbea27de 100644 --- a/libavcodec/msvideo1enc.c +++ b/libavcodec/msvideo1enc.c @@ -276,6 +276,7 @@ static av_cold int encode_init(AVCodecContext *avctx) avcodec_get_frame_defaults(&c->pic); avctx->coded_frame = (AVFrame*)&c->pic; + avctx->bits_per_coded_sample = 16; c->keyint = avctx->keyint_min; av_lfg_init(&c->rnd, 1); |