Make write_streamheader() return a meaningful error code if no codec
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 2 Jun 2010 21:57:37 +0000 (21:57 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 2 Jun 2010 21:57:37 +0000 (21:57 +0000)
commitffd5f09844f0a3ec05d27941a117f71cb2e80a8b
tree6f61e67795c8bcb507d2064135e0d25f7dff57b5
parentfc0c41240edc45f3bcdfc863f82c4c5c656803f7
Make write_streamheader() return a meaningful error code if no codec
tag is defined, rather than return -1.

Originally committed as revision 23433 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/nutenc.c