[03/16] rtpdec_amr: Use the common indentation style

Message ID 1424727122-2827-3-git-send-email-martin@martin.st
State Committed
Commit fe414059ec1fe8237574bed34cdaa8ac3893917b
Headers show

Commit Message

Martin Storsjö Feb. 23, 2015, 9:31 p.m.
---
 libavformat/rtpdec_amr.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Luca Barbato Feb. 23, 2015, 9:44 p.m. | #1
On 23/02/15 22:31, Martin Storsjö wrote:
> ---
>   libavformat/rtpdec_amr.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/libavformat/rtpdec_amr.c b/libavformat/rtpdec_amr.c
> index 86348bb..20956a6 100644
> --- a/libavformat/rtpdec_amr.c
> +++ b/libavformat/rtpdec_amr.c
> @@ -41,7 +41,8 @@ struct PayloadContext {
>   static PayloadContext *amr_new_context(void)
>   {
>       PayloadContext *data = av_mallocz(sizeof(PayloadContext));
> -    if(!data) return data;
> +    if (!data)
> +        return data;
>       data->channels = 1;
>       return data;
>   }
>
Ok.

Patch

diff --git a/libavformat/rtpdec_amr.c b/libavformat/rtpdec_amr.c
index 86348bb..20956a6 100644
--- a/libavformat/rtpdec_amr.c
+++ b/libavformat/rtpdec_amr.c
@@ -41,7 +41,8 @@  struct PayloadContext {
 static PayloadContext *amr_new_context(void)
 {
     PayloadContext *data = av_mallocz(sizeof(PayloadContext));
-    if(!data) return data;
+    if (!data)
+        return data;
     data->channels = 1;
     return data;
 }