git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
set pix_fmt
[ffmpeg.git]
/
libavcodec
/
mdec.c
diff --git
a/libavcodec/mdec.c
b/libavcodec/mdec.c
index
d6e5d04
..
afe122c
100644
(file)
--- a/
libavcodec/mdec.c
+++ b/
libavcodec/mdec.c
@@
-239,6
+239,7
@@
static int decode_init(AVCodecContext *avctx){
*/
p->qstride= a->mb_width;
p->qscale_table= av_mallocz( p->qstride * a->mb_height);
+ avctx->pix_fmt= PIX_FMT_YUV420P;
return 0;
}