It seems to work without, but the officiel ffmpeg command line utility and the
example for their internal library all do this.
This also splits the big DoDecode function into three sub-function for clarity,
as it was a bit hard with the #if statements.
Differential Revision: https://phabricator.services.mozilla.com/D173460