Re: [FFmpeg-devel] Fix for ticket #6764

2017-11-22 Thread Carl Eugen Hoyos
2017-11-23 0:24 GMT+01:00 Colin NG : > Add NULL pointer check for incoming audio data. Please commit locally and attach the patch file produced with git format-patch Indentation looks wrong here, consider using tools/patcheck (this may be my mistake tough). Carl Eugen ___

[FFmpeg-devel] Fix for ticket #6764

2017-11-22 Thread Colin NG
Add NULL pointer check for incoming audio data. diff --git a/libavcodec/opus_pvq.c b/libavcodec/opus_pvq.c index f98b85d..f1dbc5d 100644 --- a/libavcodec/opus_pvq.c +++ b/libavcodec/opus_pvq.c @@ -504,6 +504,9 @@ static av_always_inline uint32_t quant_band_template(CeltPVQ *pvq, CeltFrame *f,