<html>
    <head>
      <base href="https://bugzilla.libav.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - a divide-by-zero bug in avconv"
   href="https://bugzilla.libav.org/show_bug.cgi?id=1117">1117</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>a divide-by-zero bug in avconv
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Libav
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git HEAD
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>---
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>bugzilla@libav.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>xiaoqixue_1@163.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>A divide-by-zero bug in avconv

Affected Version: the latest commit 8ca39b855a7b0e4d9f726fa9d285bc8edcb953e6
from git://git.libav.org/libav.git.

gdb --args  ../avconv -i 1-avconv-divbyzero.wav -i 1-libav-divbyzero.flac -f
avi merge.avi


Program received signal SIGFPE, Arithmetic exception.
0x000000000046b38b in process_input_packet (ist=0x6cdd60,
no_eof=no_eof@entry=0, pkt=0x0)
    at avtools/avconv.c:1586
1586                ist->next_dts += ((int64_t)AV_TIME_BASE *
ist->dec_ctx->frame_size) /
1587                                 ist->dec_ctx->sample_rate;


poc refer:
<a href="https://github.com/xiaoqx/pocs/tree/master/libav">https://github.com/xiaoqx/pocs/tree/master/libav</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>