[FFmpeg-cvslog] rtpdec_h264: Add missing newlines to av_log calls
Martin Storsjö
git at videolan.org
Sun May 6 22:18:58 CEST 2012
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Sat May 5 20:48:08 2012 +0300| [2ed503af9fbd3ed16ce42a2712496e008184f545] | committer: Martin Storsjö
rtpdec_h264: Add missing newlines to av_log calls
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2ed503af9fbd3ed16ce42a2712496e008184f545
---
libavformat/rtpdec_h264.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c
index 6efab54..829053a 100644
--- a/libavformat/rtpdec_h264.c
+++ b/libavformat/rtpdec_h264.c
@@ -85,7 +85,7 @@ static int sdp_parse_fmtp_config_h264(AVStream *stream,
*/
if (h264_data->packetization_mode > 1)
av_log(codec, AV_LOG_ERROR,
- "Interleaved RTP mode is not supported yet.");
+ "Interleaved RTP mode is not supported yet.\n");
} else if (!strcmp(attr, "profile-level-id")) {
if (strlen(value) == 6) {
char buffer[3];
@@ -139,7 +139,7 @@ static int sdp_parse_fmtp_config_h264(AVStream *stream,
FF_INPUT_BUFFER_PADDING_SIZE);
if (!dest) {
av_log(codec, AV_LOG_ERROR,
- "Unable to allocate memory for extradata!");
+ "Unable to allocate memory for extradata!\n");
return AVERROR(ENOMEM);
}
if (codec->extradata_size) {
@@ -158,7 +158,7 @@ static int sdp_parse_fmtp_config_h264(AVStream *stream,
codec->extradata_size += sizeof(start_sequence) + packet_size;
}
}
- av_log(codec, AV_LOG_DEBUG, "Extradata set to %p (size: %d)!",
+ av_log(codec, AV_LOG_DEBUG, "Extradata set to %p (size: %d)!\n",
codec->extradata, codec->extradata_size);
}
return 0;
@@ -309,7 +309,7 @@ static int h264_handle_packet(AVFormatContext *ctx, PayloadContext *data,
case 30: // undefined
case 31: // undefined
default:
- av_log(ctx, AV_LOG_ERROR, "Undefined type (%d)", type);
+ av_log(ctx, AV_LOG_ERROR, "Undefined type (%d)\n", type);
result = AVERROR_INVALIDDATA;
break;
}
More information about the ffmpeg-cvslog
mailing list