Commit 6f8ed32a authored by bellard's avatar bellard

avoid warning


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2161 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b79d8b34
...@@ -101,7 +101,6 @@ static int wmv2_encode_init(AVCodecContext *avctx){ ...@@ -101,7 +101,6 @@ static int wmv2_encode_init(AVCodecContext *avctx){
} }
static int wmv2_encode_end(AVCodecContext *avctx){ static int wmv2_encode_end(AVCodecContext *avctx){
Wmv2Context * const w= avctx->priv_data;
if(MPV_encode_end(avctx) < 0) if(MPV_encode_end(avctx) < 0)
return -1; return -1;
...@@ -587,7 +586,6 @@ static inline int wmv2_decode_inter_block(Wmv2Context *w, DCTELEM *block, int n, ...@@ -587,7 +586,6 @@ static inline int wmv2_decode_inter_block(Wmv2Context *w, DCTELEM *block, int n,
static void wmv2_add_block(Wmv2Context *w, DCTELEM *block1, uint8_t *dst, int stride, int n){ static void wmv2_add_block(Wmv2Context *w, DCTELEM *block1, uint8_t *dst, int stride, int n){
MpegEncContext * const s= &w->s; MpegEncContext * const s= &w->s;
uint8_t temp[2][64];
switch(w->abt_type_table[n]){ switch(w->abt_type_table[n]){
case 0: case 0:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment