avconv: use the same behavior when decoding audio/video/subs
authorAnton Khirnov <anton@khirnov.net>
Mon, 21 Nov 2011 20:30:23 +0000 (21:30 +0100)
committerAnton Khirnov <anton@khirnov.net>
Wed, 23 Nov 2011 20:58:53 +0000 (21:58 +0100)
commitaf8ad892bf846425a86872d01162a59a6a31337c
tree5df4cac61f5a49d6461b8fb035ff86d6fcbcdac3
parent3eedd29bd7df6f21a79e1a67a6d905049996d2ec
avconv: use the same behavior when decoding audio/video/subs

I.e. if the packet was only partially consumed, pass the rest of it into
the decoder again.

Also simplify the code so it's the same for video/audio/subs.
avconv.c