diff --git a/src/zm_ffmpeg.cpp b/src/zm_ffmpeg.cpp index 9af56c971..fdf35e862 100644 --- a/src/zm_ffmpeg.cpp +++ b/src/zm_ffmpeg.cpp @@ -363,15 +363,9 @@ void zm_dump_stream_format(AVFormatContext *ic, int i, int index, int is_output) int flags = (is_output ? ic->oformat->flags : ic->iformat->flags); AVStream *st = ic->streams[i]; AVDictionaryEntry *lang = av_dict_get(st->metadata, "language", NULL, 0); - unsigned char *separator = ic->dump_separator; - char **codec_separator = (char **)av_opt_ptr(st->codec->av_class, st->codec, "dump_separator"); - int use_format_separator = !*codec_separator; + char separator = '\n'; - if (use_format_separator) - *codec_separator = av_strdup((const char *)separator); avcodec_string(buf, sizeof(buf), st->codec, is_output); - if (use_format_separator) - av_freep(codec_separator); Debug(3, " Stream #%d:%d", index, i); /* the pid is an important information, so we display it */