#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
FFmpeg-trac mailing list

Reply via email to