<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi all,<br>
    <br>
    While decoding an H.264 bytestream with ffmpeg, I am trying to get
    the <span class="keyword">"static</span> <span class="keywordtype">void</span>
    <a class="code"
href="https://www.ffmpeg.org/doxygen/2.5/h264__refs_8c.html#a2cfbf524bc60d95d98d40fa0e35d6034"
      title="print short term list">print_short_term</a>(<a class="code"
      href="https://www.ffmpeg.org/doxygen/2.5/structH264Context.html"
      title="H264Context.">H264Context</a> *h)" function to work
    (Definition at line <a class="el"
href="https://www.ffmpeg.org/doxygen/2.5/h264__refs_8c_source.html#l00509">509</a>
    of file <a class="el"
      href="https://www.ffmpeg.org/doxygen/2.5/h264__refs_8c_source.html">h264_refs.c</a>)<br>
    <br>
    I tried adding "-loglevel debug" in the command line, but I still
    cannot see the short term reference frames.<br>
    <br>
    There is an if statement inside the function like: <br>
        <span class="keywordflow">if</span> (h-><a class="code"
href="https://www.ffmpeg.org/doxygen/2.5/structH264Context.html#a4ffe05fa45bcaf7998889085ebce941a">avctx</a>-><a
      class="code"
href="https://www.ffmpeg.org/doxygen/2.5/structAVCodecContext.html#a1c52e4da25b608b2b9a80af21bb86d58"
      title="debug">debug</a> & <a class="code"
href="https://www.ffmpeg.org/doxygen/2.5/libavcodec_2avcodec_8h.html#ab4c33b60e800404f9413fb651c10340f">FF_DEBUG_MMCO</a>)
    // so on...<br>
    <br>
    But that does not make much sense to me. How can I make this
    function work?<br>
    <br>
    Thanks a lot for your help,<br>
    Eymen<br>
    <br>
  </body>
</html>