diff mbox

[FFmpeg-devel] lavc/mediacodec: add missing newline on warning

Message ID 20170703180736.28846-1-ffmpeg@tmm1.net
State Accepted
Commit 6d4a686d45218fd9ac312fd3f3056680ce169d40
Headers show

Commit Message

Aman Gupta July 3, 2017, 6:07 p.m. UTC
From: Aman Gupta <aman@tmm1.net>

---
 libavcodec/mediacodecdec_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Matthieu Bouron July 3, 2017, 9:45 p.m. UTC | #1
On Mon, Jul 03, 2017 at 11:07:36AM -0700, Aman Gupta wrote:
> From: Aman Gupta <aman@tmm1.net>
> 
> ---
>  libavcodec/mediacodecdec_common.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/mediacodecdec_common.c b/libavcodec/mediacodecdec_common.c
> index 1263188d34..f88b2cde54 100644
> --- a/libavcodec/mediacodecdec_common.c
> +++ b/libavcodec/mediacodecdec_common.c
> @@ -478,7 +478,7 @@ int ff_mediacodec_dec_init(AVCodecContext *avctx, MediaCodecDecContext *s,
>  
>      profile = ff_AMediaCodecProfile_getProfileFromAVCodecContext(avctx);
>      if (profile < 0) {
> -        av_log(avctx, AV_LOG_WARNING, "Unsupported or unknown profile");
> +        av_log(avctx, AV_LOG_WARNING, "Unsupported or unknown profile\n");
>      }
>  
>      s->codec_name = ff_AMediaCodecList_getCodecNameByType(mime, profile, 0, avctx);
> -- 
> 2.11.0 (Apple Git-81)

Applied. Thanks.

[...]
diff mbox

Patch

diff --git a/libavcodec/mediacodecdec_common.c b/libavcodec/mediacodecdec_common.c
index 1263188d34..f88b2cde54 100644
--- a/libavcodec/mediacodecdec_common.c
+++ b/libavcodec/mediacodecdec_common.c
@@ -478,7 +478,7 @@  int ff_mediacodec_dec_init(AVCodecContext *avctx, MediaCodecDecContext *s,
 
     profile = ff_AMediaCodecProfile_getProfileFromAVCodecContext(avctx);
     if (profile < 0) {
-        av_log(avctx, AV_LOG_WARNING, "Unsupported or unknown profile");
+        av_log(avctx, AV_LOG_WARNING, "Unsupported or unknown profile\n");
     }
 
     s->codec_name = ff_AMediaCodecList_getCodecNameByType(mime, profile, 0, avctx);