avconv: use different variables for decoded and filtered frame.
authorAnton Khirnov <anton@khirnov.net>
Fri, 23 Sep 2011 14:17:42 +0000 (16:17 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 27 Sep 2011 17:17:37 +0000 (19:17 +0200)
commitd3c1d37a9019ed32a1710d53c1ad08c44bd072da
tree4198954d14f9e5c9132e55b5a708534735d19780
parent3ccd15803bc1dd06cf2646ade92891dada5417ea
avconv: use different variables for decoded and filtered frame.

Makes the code less obfuscated and fixes encoding one video stream to
several outputs.

Also use avcodec_alloc_frame() instead of allocating AVFrame on stack.

Breaks me_threshold in avconv, as motion vectors aren't passed through
lavfi. They could be copied manually, but I don't think this misfeature
is useful enough to justify ugly hacks.
avconv.c
tests/codec-regression.sh
tests/ref/vsynth1/mpeg2thread
tests/ref/vsynth2/mpeg2thread