avcodec: Set flags2 default value depending on availability
authorMartin Storsjö <martin@martin.st>
Thu, 3 Nov 2011 12:12:14 +0000 (14:12 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 4 Nov 2011 10:46:33 +0000 (12:46 +0200)
commitadc85ce20bc18c7f2074e1e88d0eeaffde810ea4
tree48fbfa18fa057a0ec7c42cde3d8daa7d194dae7b
parent76718f3fb75a7c2ba790ba7a110059fc120ee25e
avcodec: Set flags2 default value depending on availability

This makes the code compile when FF_API_X264_GLOBAL_OPTS or
FF_API_LAME_GLOBAL_OPTS is 0.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/options.c