• Andre Anjos's avatar
    doc/examples/muxing: Fixes frame initialization. · 23ffc4c7
    Andre Anjos authored
    Fixes use of the example with encoders which use tha AVFrame w/h/pix_fmt fields
    FFV1 is one of these codecs
    
    We cannot easily workaround the not set fields in common code because the API
    has AVFrame constant for the encoders.
    Alternatives would be to fix the API or to duplicate the struct and fill in
    missing fields. Or as is to require all user apps to set this correctly and
    maybe simplify for that case
    Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
    23ffc4c7
muxing.c 19.6 KB