Use av_register_all rather than avcodec_init for the configure check as avcodec_init has been deprecated forever and was removed in the 54 version bumb

Originally committed to SVN as r641.
Replace av_register_all with avcodec_register_all

This is the proper replacement for the deprecated avcodec_init.  Ambiguity and
non-consistency in function names can do wonders sometimes.

Originally committed to SVN as r642.
Add -k flag to ffmsindex to write keyframe files for all of the video tracks. Closes issue #73.

Originally committed to SVN as r644.
better documentation for FFCOLOR_SPACE and FFCOLOR_RANGE

Originally committed to SVN as r645.
Align and pad buffers when indexing using Haali's parser

Originally committed to SVN as r646.
remove irrelevant comment

Originally committed to SVN as r647.
Default to static for mingw/cygwin and shared everywhere else. Closes issue #82.

Originally committed to SVN as r648.
Regenerate configure


Originally committed to SVN as r649.
update changelog

Originally committed to SVN as r650.
recognize GBR as a RGB colorspace

Originally committed to SVN as r653.
Add FFMS_SetInputFormatV

This overrides the pixel format, color range and color space used for
the input when converting formats with swscale, for when the values
reported by lavc are incorrect, or for compatibility with other programs
that get the conversion wrong.

Closes Issue #71.

Originally committed to SVN as r655.
Fix compilation failure with postproc enabled

Originally committed to SVN as r656.
Add support for formats with packet durations but no packet timestamps

Seeking in these files can potentially be inefficient (if lavf assigns a
PTS other than 0 to the first frame every seek will decode from the
beginning), but should still be frame accurate as long as lavf at least
reports the file position correctly.

Closes issue #75.

Originally committed to SVN as r657.
Fix progress reporting when indexing files with non-zero initial timestamp with haali

Originally committed to SVN as r658.
Close and reopen the codec to force a flush when the codec doesn't implement flushing

Originally committed to SVN as r659.
Reconstruct presentation timestamps for video streams with b-frames and only decode timestamps (such as VC-1 in MKV)

Closes issue #72. Closes issue #84.

Originally committed to SVN as r660.
Fix unicode issues on mingw

Use __gnu_cxx::stdio_filebuf + _wopen to add support for unicode to
ffms_fstream, and do some ugly things in ffmsindex to get the unicode
version of the command line.

Closes issue #58.

Originally committed to SVN as r661.
std::vector::data is a gcc extension

Originally committed to SVN as r662.
Only read post-seek timestamps from packets of the right track

The first packet read after a seek has a very good chance of being an
audio packet (as they usually significantly outnumber video packets),
and so has a very good chance of having a timestamp that doesn't
correspond to any frame, resulting in every seek decoding from frame
zero.

Originally committed to SVN as r663.
Disable deprecation warnings for FFMS API things when building FFMS itself

Originally committed to SVN as r664.