Make av_write_header() return AVERROR(EINVAL) rather than -1 if the
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 22 May 2010 21:52:06 +0000 (21:52 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 22 May 2010 21:52:06 +0000 (21:52 +0000)
commite1745e2f6e839a91d5e9347b6dfe7685622b9fb4
tree73aff8f6901a48c0bb9d574f8aba378fd716bfa4
parentcf5b33d9fa57afaddac4606dc5e1cde698f1bbb4
Make av_write_header() return AVERROR(EINVAL) rather than -1 if the
input parameters are not valid.

Originally committed as revision 23253 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c