diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-07-21 17:16:01 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-07-22 10:32:21 +0200 |
commit | c0b91348fe4aec7d2245d95ccabb460a6971e361 (patch) | |
tree | 1c4f92b0a6fe945557979817ddd42431792b613f /libavformat/avc.c | |
parent | 9ce0e19ab61e99cdfe29fcce84b9f6a7f17b431c (diff) | |
download | ffmpeg-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/avc.c')
0 files changed, 0 insertions, 0 deletions