not supported in FFmpeg. This will cause crashes later because the samplerate
is used to initialize the timebase.
Originally committed as revision 21741 to svn://svn.ffmpeg.org/ffmpeg/trunk
if (c && c->name)
c_name = c->name;
else
- c_name = (char *) NULL;
+ c_name = "(null)";
- if (c_name) {
get_word_sep(buf, sizeof(buf), "/", &p);
i = atoi(buf);
switch (codec->codec_type) {
break;
}
return 0;
- }
-
- return -1;
}
/* return the length and optionally the data */