1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

dpx: Do not use DPX encoder for decoding.

10l to the one who hasn't checked this.
This commit is contained in:
Kostya Shishkov 2011-05-02 10:37:36 +02:00 committed by Diego Biurrun
parent ad1862d64a
commit b178cd76b2

View File

@ -167,7 +167,7 @@ AVCodec ff_dpx_encoder = {
.id = CODEC_ID_DPX, .id = CODEC_ID_DPX,
.priv_data_size = sizeof(DPXContext), .priv_data_size = sizeof(DPXContext),
.init = encode_init, .init = encode_init,
.decode = encode_frame, .encode = encode_frame,
.pix_fmts = (const enum PixelFormat[]){ .pix_fmts = (const enum PixelFormat[]){
PIX_FMT_RGB24, PIX_FMT_RGB24,
PIX_FMT_RGBA, PIX_FMT_RGBA,