You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
g729dec: fix 'warning: assignment from incompatible pointer type'
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -420,7 +420,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr,
|
|||||||
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_frame= ctx->frame.data[0];
|
out_frame = (int16_t*) ctx->frame.data[0];
|
||||||
|
|
||||||
if (buf_size == 10) {
|
if (buf_size == 10) {
|
||||||
packet_type = FORMAT_G729_8K;
|
packet_type = FORMAT_G729_8K;
|
||||||
|
Reference in New Issue
Block a user