aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/audio.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-11-15 23:26:07 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-11-16 12:56:31 +0100
commit4bb1070c154e49d35805fbcdac9c9e92f702ef96 (patch)
tree8feca3a3ab44d19cab72718c24bddb803bd12ce4 /libavfilter/audio.h
parent9fd2bf09dbc630484d9e88a1d27f7e8508b70a2c (diff)
downloadffmpeg-4bb1070c154e49d35805fbcdac9c9e92f702ef96.tar.gz
ffv1: Explicitly name the coder type
FFv1 uses two types of coders, golomb and range with two different tables. This is exposed this in a rather convoluted way, for example mentioning to set coder type 1 while initializing the variable 'ac' to 2, because encoder does not use range coder with default table. Appropriate internal coder type values have been added and used in any check rather than using raw numbers. Initialization of avctx.coder_type in ffv1dec is removed because this field is encoder only. An unneeded validation check in the encoder is dropped too. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavfilter/audio.h')
0 files changed, 0 insertions, 0 deletions