git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cd9a3c3
)
dxa: remove useless code
author
Paul B Mahol
<onemda@gmail.com>
Thu, 15 Mar 2012 01:36:45 +0000
(
01:36
+0000)
committer
Anton Khirnov
<anton@khirnov.net>
Thu, 15 Mar 2012 13:01:23 +0000
(14:01 +0100)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/dxa.c
patch
|
blob
|
history
diff --git
a/libavcodec/dxa.c
b/libavcodec/dxa.c
index
d196f49
..
7b7a386
100644
(file)
--- a/
libavcodec/dxa.c
+++ b/
libavcodec/dxa.c
@@
-36,7
+36,6
@@
* Decoder context
*/
typedef struct DxaDecContext {
- AVCodecContext *avctx;
AVFrame pic, prev;
int dsize;
@@
-292,7
+291,6
@@
static av_cold int decode_init(AVCodecContext *avctx)
{
DxaDecContext * const c = avctx->priv_data;
- c->avctx = avctx;
avctx->pix_fmt = PIX_FMT_PAL8;
c->dsize = avctx->width * avctx->height * 2;