<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 - there might be a case when channel_layout==0 but channels==2 which makes avresample_open() to fail"
   href="https://bugzilla.libav.org/show_bug.cgi?id=911">911</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>there might be a case when channel_layout==0 but channels==2 which makes avresample_open() to fail
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>11
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>X86
          </td>
        </tr>

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

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

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>libavresample
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>tjosko@yahoo.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=563" name="attach_563" title="file which reports channel_layout as 0">attachment 563</a> <a href="attachment.cgi?id=563&action=edit" title="file which reports channel_layout as 0">[details]</a></span>
file which reports channel_layout as 0

library version: 11.4
file: compilation-wma-128.wma (might be corrupted)
codec: wmav2

avdecoder reports few hiccups, but otherwise is able to decode it.
channel_layout is 0, channels is 2, when fed to avresample params it makes
avresample_open() fail with invalid channel layout. setting it forcibly to
AV_CH_LAYOUT_STEREO doesnt help. still, if i convert it to AV_SAMPLE_FMT_S16
using my own function it plays fine.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>