Skip to content
  • Sebastian Dröge's avatar
    avaudenc: Set all required fields in the AVFrame · 01be7907
    Sebastian Dröge authored
    Various functions in libavcodec need them, like the format, sample rate, etc.
    and just having them in the context is not enough.
    
    This fixes draining for codecs like MP2 that require a fixed frame size and
    require libav to pad the last frame if required.
    01be7907