• Clément Bœsch's avatar
    lavc: add ff_bprint_to_extradata() helper and use it. · 36e61e24
    Clément Bœsch authored
    This commit also makes sure the extradata and subtitle_header are NUL
    terminated, without taking into account the trailing '\0' in account in
    the size.
    
    At the same time, it should fix 'warning: dereferencing type-punned
    pointer will break strict-aliasing rules' warning for compilers who
    don't consider uint8_t** and char** compatibles.
    36e61e24
jacosubdec.c 7.54 KB