[FFmpeg-trac] #5892(undetermined:new): Show Qavg -nan when end of aac stream
FFmpeg
trac at avcodec.org
Fri Oct 14 18:46:56 EEST 2016
#5892: Show Qavg -nan when end of aac stream
-------------------------------------+-------------------------------------
Reporter: | Type: defect
chengmo03013106 | Priority: normal
Status: new | Version:
Component: | unspecified
undetermined | Blocked By:
Keywords: aac | Reproduced by developer: 1
Blocking: |
Analyzed by developer: 1 |
-------------------------------------+-------------------------------------
Hi, all:
I used demux mp4 which built as H264 & aac
When the program stopped, there was info "[aac at 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 ?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5892>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list