Mercurial > libavcodec.hg
comparison xvmcvideo.c @ 4010:ed375c76b5e0 libavcodec
Fixes:
xvmcvideo.c: In function ¡ÆXVMC_decode_mb¡Ç:
xvmcvideo.c:141: warning: ¡Æreturn¡Ç with a value, in function returning void
Approved by Ivan.
author | rathann |
---|---|
date | Thu, 12 Oct 2006 19:57:47 +0000 |
parents | c8c591fe26f8 |
children | cf6608b00186 |
comparison
equal
deleted
inserted
replaced
4009:e5f7797e53c7 | 4010:ed375c76b5e0 |
---|---|
136 const int mb_xy = s->mb_y * s->mb_stride + s->mb_x; | 136 const int mb_xy = s->mb_y * s->mb_stride + s->mb_x; |
137 | 137 |
138 | 138 |
139 if(s->encoding){ | 139 if(s->encoding){ |
140 av_log(s->avctx, AV_LOG_ERROR, "XVMC doesn't support encoding!!!\n"); | 140 av_log(s->avctx, AV_LOG_ERROR, "XVMC doesn't support encoding!!!\n"); |
141 return -1; | 141 return; |
142 } | 142 } |
143 | 143 |
144 //from MPV_decode_mb(), | 144 //from MPV_decode_mb(), |
145 /* update DC predictors for P macroblocks */ | 145 /* update DC predictors for P macroblocks */ |
146 if (!s->mb_intra) { | 146 if (!s->mb_intra) { |