mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-27 02:52:25 +08:00
dxa: remove useless code
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:

committed by
Anton Khirnov

parent
cd9a3c3512
commit
702985b8b7
@ -36,7 +36,6 @@
|
|||||||
* Decoder context
|
* Decoder context
|
||||||
*/
|
*/
|
||||||
typedef struct DxaDecContext {
|
typedef struct DxaDecContext {
|
||||||
AVCodecContext *avctx;
|
|
||||||
AVFrame pic, prev;
|
AVFrame pic, prev;
|
||||||
|
|
||||||
int dsize;
|
int dsize;
|
||||||
@ -292,7 +291,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
|||||||
{
|
{
|
||||||
DxaDecContext * const c = avctx->priv_data;
|
DxaDecContext * const c = avctx->priv_data;
|
||||||
|
|
||||||
c->avctx = avctx;
|
|
||||||
avctx->pix_fmt = PIX_FMT_PAL8;
|
avctx->pix_fmt = PIX_FMT_PAL8;
|
||||||
|
|
||||||
c->dsize = avctx->width * avctx->height * 2;
|
c->dsize = avctx->width * avctx->height * 2;
|
||||||
|
Reference in New Issue
Block a user