OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54c2421
)
SVQ3 : Set avctx->pix_fmt correctly during decoder initialisation.
author
Jai Menon
<jmenon86@gmail.com>
Sat, 12 Dec 2009 17:10:05 +0000
(17:10 +0000)
committer
Jai Menon
<jmenon86@gmail.com>
Sat, 12 Dec 2009 17:10:05 +0000
(17:10 +0000)
Fixes issue 1591.
Originally committed as revision 20810 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/svq3.c
patch
|
blob
|
history
diff --git
a/libavcodec/svq3.c
b/libavcodec/svq3.c
index
962b1df
..
787cfe0
100644
(file)
--- a/
libavcodec/svq3.c
+++ b/
libavcodec/svq3.c
@@
-796,6
+796,7
@@
static av_cold int svq3_decode_init(AVCodecContext *avctx)
s->flags2 = avctx->flags2;
s->unrestricted_mv = 1;
h->is_complex=1;
+ avctx->pix_fmt = avctx->codec->pix_fmts[0];
if (!s->context_initialized) {
s->width = avctx->width;