提交 c3d56f0e 编写于 作者: M Michael Niedermayer

proresenc: fix typo that caused the wrong dimensions to be used.

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 22e25c00
......@@ -499,8 +499,8 @@ static int prores_encode_frame(AVCodecContext *avctx, unsigned char *buf,
bytestream_put_be16(&buf, header_size);
bytestream_put_be16(&buf, 0);
bytestream_put_buffer(&buf, "fmpg", 4);
bytestream_put_be16(&buf, pic->width);
bytestream_put_be16(&buf, pic->height);
bytestream_put_be16(&buf, avctx->width);
bytestream_put_be16(&buf, avctx->height);
*buf++ = 0x83; // {10}(422){00}{00}(frame){11}
*buf++ = 0;
*buf++ = 2;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册