|
|
|
@@ -36,6 +36,8 @@ static int noise(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const ch |
|
|
|
return AVERROR(EINVAL); |
|
|
|
|
|
|
|
*poutbuf= av_malloc(buf_size + FF_INPUT_BUFFER_PADDING_SIZE); |
|
|
|
if (!*poutbuf) |
|
|
|
return AVERROR(ENOMEM); |
|
|
|
|
|
|
|
memcpy(*poutbuf, buf, buf_size + FF_INPUT_BUFFER_PADDING_SIZE); |
|
|
|
for(i=0; i<buf_size; i++){ |
|
|
|
|