build for libav. ffmpeg>=1.0

avcodec_descriptor_get
crash if avio context is null