<html>
    <head>
      <base href="https://bugzilla.libav.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:pklaus@futurelab.ch" title="Philipp Klaus <pklaus@futurelab.ch>"> <span class="fn">Philipp Klaus</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - JPEG produced with Intel JPEG lib loaded upside-down"
   href="https://bugzilla.libav.org/show_bug.cgi?id=207">bug 207</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>pklaus@futurelab.ch
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - JPEG produced with Intel JPEG lib loaded upside-down"
   href="https://bugzilla.libav.org/show_bug.cgi?id=207#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - JPEG produced with Intel JPEG lib loaded upside-down"
   href="https://bugzilla.libav.org/show_bug.cgi?id=207">bug 207</a>
              from <span class="vcard"><a class="email" href="mailto:pklaus@futurelab.ch" title="Philipp Klaus <pklaus@futurelab.ch>"> <span class="fn">Philipp Klaus</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=545" name="attach_545" title="Patch to fix this bug">attachment 545</a> <a href="attachment.cgi?id=545&action=edit" title="Patch to fix this bug">[details]</a></span>
Patch to fix this bug

I ran into the same problem on a debian system, found out that newer ffmpeg
version have the bug fixed, searched for the relevant source code and applied
it similarly to libav. Later on I found the relevant patch made by ffmpeg about
3 years ago.

Based on:
<a href="http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=1fa4018e29d7701d06a27596b9b15a185193707b;hp=507d2d28d6112b648c2c4cdbdac81de7c3041f83">http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=1fa4018e29d7701d06a27596b9b15a185193707b;hp=507d2d28d6112b648c2c4cdbdac81de7c3041f83</a>

Bug on ffmpeg:
<a href="https://trac.ffmpeg.org/ticket/511">https://trac.ffmpeg.org/ticket/511</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>