aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/dvenc.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-07-21 17:16:01 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-07-22 10:32:21 +0200
commitc0b91348fe4aec7d2245d95ccabb460a6971e361 (patch)
tree1c4f92b0a6fe945557979817ddd42431792b613f /libavformat/dvenc.c
parent9ce0e19ab61e99cdfe29fcce84b9f6a7f17b431c (diff)
downloadffmpeg-c0b91348fe4aec7d2245d95ccabb460a6971e361.tar.gz
lavd/caca: create display *after* checking dither options
Avoid fastidious creation and immediate destroy of the display in case one of the dither options fails to be set. Also add NULL checks in write_trailer(), which are now necessary since the function can be called when not all the components have been initialized.
Diffstat (limited to 'libavformat/dvenc.c')
0 files changed, 0 insertions, 0 deletions