aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dpxenc.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2011-05-02 10:37:36 +0200
committerDiego Biurrun <diego@biurrun.de>2011-05-02 11:04:20 +0200
commitb178cd76b27ad317e6a93db63f5630f268ce21fe (patch)
treec95723863a8efa7f9341db4ee40cf3e4c97a8432 /libavcodec/dpxenc.c
parentad1862d64ae28251e2740e437bbc639492a374a0 (diff)
downloadffmpeg-b178cd76b27ad317e6a93db63f5630f268ce21fe.tar.gz
dpx: Do not use DPX encoder for decoding.
10l to the one who hasn't checked this.
Diffstat (limited to 'libavcodec/dpxenc.c')
-rw-r--r--libavcodec/dpxenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dpxenc.c b/libavcodec/dpxenc.c
index bb783e2d9c..7ae929238d 100644
--- a/libavcodec/dpxenc.c
+++ b/libavcodec/dpxenc.c
@@ -167,7 +167,7 @@ AVCodec ff_dpx_encoder = {
.id = CODEC_ID_DPX,
.priv_data_size = sizeof(DPXContext),
.init = encode_init,
- .decode = encode_frame,
+ .encode = encode_frame,
.pix_fmts = (const enum PixelFormat[]){
PIX_FMT_RGB24,
PIX_FMT_RGBA,