提交 ea15d200 编写于 作者: P Peter Ross

remove redundant text and whitespaces from iff demuxer av_log() statements

Originally committed as revision 24246 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 720e4c79
...@@ -220,7 +220,7 @@ static int iff_read_header(AVFormatContext *s, ...@@ -220,7 +220,7 @@ static int iff_read_header(AVFormatContext *s,
if (metadata_tag) { if (metadata_tag) {
if ((res = get_metadata(s, metadata_tag, data_size)) < 0) { if ((res = get_metadata(s, metadata_tag, data_size)) < 0) {
av_log(s, AV_LOG_ERROR, "iff: cannot allocate metadata tag %s!", metadata_tag); av_log(s, AV_LOG_ERROR, "cannot allocate metadata tag %s!", metadata_tag);
return res; return res;
} }
} }
...@@ -244,7 +244,7 @@ static int iff_read_header(AVFormatContext *s, ...@@ -244,7 +244,7 @@ static int iff_read_header(AVFormatContext *s,
st->codec->codec_id = CODEC_ID_8SVX_EXP; st->codec->codec_id = CODEC_ID_8SVX_EXP;
break; break;
default: default:
av_log(s, AV_LOG_ERROR, "iff: unknown compression method\n"); av_log(s, AV_LOG_ERROR, "unknown compression method\n");
return -1; return -1;
} }
...@@ -289,7 +289,7 @@ static int iff_read_packet(AVFormatContext *s, ...@@ -289,7 +289,7 @@ static int iff_read_packet(AVFormatContext *s,
ret = get_buffer(pb, sample_buffer, PACKET_SIZE); ret = get_buffer(pb, sample_buffer, PACKET_SIZE);
if(av_new_packet(pkt, PACKET_SIZE) < 0) { if(av_new_packet(pkt, PACKET_SIZE) < 0) {
av_log(s, AV_LOG_ERROR, "iff: cannot allocate packet \n"); av_log(s, AV_LOG_ERROR, "cannot allocate packet\n");
return AVERROR(ENOMEM); return AVERROR(ENOMEM);
} }
interleave_stereo(sample_buffer, pkt->data, PACKET_SIZE); interleave_stereo(sample_buffer, pkt->data, PACKET_SIZE);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册