g723_1: Fix "libavcodec/g723_1.c:988:8: warning: assignment from incompatible pointer type [enabled by default]"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
53918a1c54
commit
a407baba85
@ -985,7 +985,7 @@ static int g723_1_decode_frame(AVCodecContext *avctx, void *data,
|
|||||||
av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
|
av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
out= p->frame.data[0];
|
out= (int16_t*)p->frame.data[0];
|
||||||
|
|
||||||
|
|
||||||
if(p->cur_frame_type == ActiveFrame) {
|
if(p->cur_frame_type == ActiveFrame) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user