• Anton Khirnov's avatar
    fftools/ffmpeg_dec: eliminate all remaining InputStream uses · 0d00e2e2
    Anton Khirnov authored
    Previously, the demuxer would register decoder with the scheduler, using
    InputStream as opaque, and pass the scheduling index to the decoder.
    
    Now the registration is done by the decoder itself, using DecoderPriv as
    opaque, and the scheduling index is returned to demuxer from dec_open().
    
    decoder_thread() then no longer needs to be accessed from outside of
    ffmpeg_dec and can be made static.
    0d00e2e2
ffmpeg_dec.c 32.6 KB