Fix get_str/get_str8() to also work if the target string is not long enough to
authorRonald S. Bultje <rsbultje@gmail.com>
Sat, 28 Jul 2007 18:02:19 +0000 (18:02 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 28 Jul 2007 18:02:19 +0000 (18:02 +0000)
commit28263f5f15e1acededd06128f1bd75e0112b00c2
tree4ad43913369d51bacde1dc45c9fb03205f4fc0c2
parentbd7c6fd50c40f1fa41cc356dfa6df3575fe8c589
Fix get_str/get_str8() to also work if the target string is not long enough to
fit all data from the container string, and allow NULL as a string also to
simply skip the string altogether.
patch by Ronald S. Bultje, rsbultje gmail com

Originally committed as revision 9817 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rmdec.c