[FFmpeg-trac] #5892(avcodec:new): Show Qavg -nan when end of aac stream

FFmpeg trac at avcodec.org
Sun Oct 16 11:18:39 EEST 2016

#5892: Show Qavg -nan when end of aac stream
             Reporter:               |                    Owner:
  chengmo03013106                    |                   Status:  new
                 Type:  defect       |                Component:  avcodec
             Priority:  important    |               Resolution:
              Version:  unspecified  |               Blocked By:
             Keywords:  aac crash    |  Reproduced by developer:  0
  fpe regression                     |
             Blocking:               |
Analyzed by developer:  0            |

Comment (by chengmo03013106):

 For the 1st,to avoid s->lambda_count = 0, thinking of s->lambda_sum*1000 /
 (s->lambda_count*1000 +1), the divider would not equal to 0.
 For the second issue, the print show "Qavg -nan", I guess change the type
 of s->lambda_sum from float to double would solved the issue.

Ticket URL: <https://trac.ffmpeg.org/ticket/5892#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list