Skip to content
Snippets Groups Projects
  • Anton Khirnov's avatar
    0c1959b0
    lavf: add AVFMT_FLAG_BITEXACT. · 0c1959b0
    Anton Khirnov authored
    Use it instead of checking CODEC_FLAG_BITEXACT in the first stream's
    codec context.
    
    Using codec options inside lavf is fragile and can easily break when the
    muxing codec context is not the encoding context.
    0c1959b0
    History
    lavf: add AVFMT_FLAG_BITEXACT.
    Anton Khirnov authored
    Use it instead of checking CODEC_FLAG_BITEXACT in the first stream's
    codec context.
    
    Using codec options inside lavf is fragile and can easily break when the
    muxing codec context is not the encoding context.