aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/fraps.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-04-25 22:08:15 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-04-25 23:17:59 +0200
commit1da254b849d9bc8cc100afde86b225d467857a11 (patch)
tree19acfd3eab58fef90693f61fd064867042cf3c7e /libavcodec/fraps.c
parentbd2a3700c045201b043a0e812d932e9d4fc37e82 (diff)
downloadandroid_external_ffmpeg-1da254b849d9bc8cc100afde86b225d467857a11.tar.gz
android_external_ffmpeg-1da254b849d9bc8cc100afde86b225d467857a11.tar.bz2
android_external_ffmpeg-1da254b849d9bc8cc100afde86b225d467857a11.zip
fraps: do not set avctx->pix_fmt to none in decode_init()
This is required for setting up the filterchain, as it requires the pixel format to be set, which is usually done when probing the file with av_find_stream_info(). Fix trac issue #83. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Diffstat (limited to 'libavcodec/fraps.c')
-rw-r--r--libavcodec/fraps.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c
index 8d40ed2fa7..947c52e21d 100644
--- a/libavcodec/fraps.c
+++ b/libavcodec/fraps.c
@@ -61,7 +61,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
FrapsContext * const s = avctx->priv_data;
avctx->coded_frame = (AVFrame*)&s->frame;
- avctx->pix_fmt= PIX_FMT_NONE; /* set in decode_frame */
s->avctx = avctx;
s->tmpbuf = NULL;