From b178cd76b27ad317e6a93db63f5630f268ce21fe Mon Sep 17 00:00:00 2001
From: Kostya Shishkov <kostya.shishkov@gmail.com>
Date: Mon, 2 May 2011 10:37:36 +0200
Subject: [PATCH] dpx: Do not use DPX encoder for decoding.

10l to the one who hasn't checked this.
---
 libavcodec/dpxenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/dpxenc.c b/libavcodec/dpxenc.c
index bb783e2d9c9..7ae929238d7 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,
-- 
GitLab