dpx: Do not use DPX encoder for decoding.
authorKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 2 May 2011 08:37:36 +0000 (10:37 +0200)
committerDiego Biurrun <diego@biurrun.de>
Mon, 2 May 2011 09:04:20 +0000 (11:04 +0200)
10l to the one who hasn't checked this.

libavcodec/dpxenc.c

index bb783e2..7ae9292 100644 (file)
@@ -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,