Show Qavg -nan when end of aac stream
|Reported by:||ChengMo||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
I used demux mp4 which built as H264 & aac
When the program stopped, there was info "[aac@xxxxxx] Qavg -nan"
I found this info would generated by av_log() in aac_encode_end(AVCodecContext *avctx).
The code like this "av_log(avctx, AV_LOG_INFO, "Qavg: %.3f\n", s->lambda_sum / s->lambda_count);"
the problem was that the s->lambda_count was "0" and the type of it is int.
thinking of the value "0" is divided ?
is this a bug ?
Change History (14)
follow-up: 4 comment:3 by , 5 years ago
|Analyzed by developer:||unset|
|Component:||undetermined → avcodec|
|Keywords:||crash fpe regression added|
|Priority:||normal → important|
|Reproduced by developer:||unset|
comment:11 by , 5 years ago
|Keywords:||crash fpe regression removed|
|Priority:||important → normal|
|Status:||new → closed|