This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Set bits_per_coded_sample when encoding Y41P.
This allows mplayer -vc bt411 to decode files encoded with FFmpeg. Reviewed-by: Paul B Mahol
tags/n0.10
Carl Eugen Hoyos
13 years ago
parent
efaf448888
commit
001567c767
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavcodec/y41penc.c
+ 1
- 0
libavcodec/y41penc.c
View File
@@ -30,6 +30,7 @@ static av_cold int y41p_encode_init(AVCodecContext *avctx)
}
avctx->coded_frame = avcodec_alloc_frame();
avctx->bits_per_coded_sample = 12;
if (!avctx->coded_frame) {
av_log(avctx, AV_LOG_ERROR, "Could not allocate frame.\n");
Write
Preview
Loading…
Cancel
Save