diff mbox

[FFmpeg-devel,V1,1/3] avcodec/decode: fix identation

Message ID 1570196215-10418-1-git-send-email-mypopydev@gmail.com
State Accepted
Commit b0e6822448166b626a2a3bfdfdade5da25dc7a0d
Headers show

Commit Message

Jun Zhao Oct. 4, 2019, 1:36 p.m. UTC
From: Jun Zhao <barryjzhao@tencent.com>

fix identation.

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
---
 libavcodec/decode.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Gyan Doshi Oct. 4, 2019, 2:17 p.m. UTC | #1
On 04-10-2019 07:06 PM, Jun Zhao wrote:
> From: Jun Zhao <barryjzhao@tencent.com>
>
> fix identation.

indentation

>
> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
> ---
>   libavcodec/decode.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavcodec/decode.c b/libavcodec/decode.c
> index 0818475..a7b37c6 100644
> --- a/libavcodec/decode.c
> +++ b/libavcodec/decode.c
> @@ -785,7 +785,7 @@ int attribute_align_arg avcodec_receive_frame(AVCodecContext *avctx, AVFrame *fr
>           if (avctx->frame_number > 1) {
>               changed = avci->initial_format != frame->format;
>   
> -           switch(avctx->codec_type) {
> +            switch(avctx->codec_type) {
>               case AVMEDIA_TYPE_VIDEO:
>                   changed |= avci->initial_width  != frame->width ||
>                              avci->initial_height != frame->height;

LGTM.

Gyan
Michael Niedermayer Oct. 5, 2019, 1:44 p.m. UTC | #2
On Fri, Oct 04, 2019 at 09:36:54PM +0800, Jun Zhao wrote:
> From: Jun Zhao <barryjzhao@tencent.com>
> 
> Correct the flags for AVCodecContext.flags2.
> 
> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
> ---
>  libavcodec/options_table.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

LGTM

thx

[...]
mypopy@gmail.com Oct. 8, 2019, 12:59 a.m. UTC | #3
On Sat, Oct 5, 2019 at 9:44 PM Michael Niedermayer
<michael@niedermayer.cc> wrote:
>
> On Fri, Oct 04, 2019 at 09:36:54PM +0800, Jun Zhao wrote:
> > From: Jun Zhao <barryjzhao@tencent.com>
> >
> > Correct the flags for AVCodecContext.flags2.
> >
> > Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
> > ---
> >  libavcodec/options_table.h |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
>
> LGTM
>
> thx
>
Applied, thx
mypopy@gmail.com Oct. 8, 2019, 1 a.m. UTC | #4
On Fri, Oct 4, 2019 at 10:23 PM Gyan <ffmpeg@gyani.pro> wrote:
>
>
>
> On 04-10-2019 07:06 PM, Jun Zhao wrote:
> > From: Jun Zhao <barryjzhao@tencent.com>
> >
> > fix identation.
>
> indentation
>
> >
> > Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
> > ---
> >   libavcodec/decode.c |    2 +-
> >   1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/libavcodec/decode.c b/libavcodec/decode.c
> > index 0818475..a7b37c6 100644
> > --- a/libavcodec/decode.c
> > +++ b/libavcodec/decode.c
> > @@ -785,7 +785,7 @@ int attribute_align_arg avcodec_receive_frame(AVCodecContext *avctx, AVFrame *fr
> >           if (avctx->frame_number > 1) {
> >               changed = avci->initial_format != frame->format;
> >
> > -           switch(avctx->codec_type) {
> > +            switch(avctx->codec_type) {
> >               case AVMEDIA_TYPE_VIDEO:
> >                   changed |= avci->initial_width  != frame->width ||
> >                              avci->initial_height != frame->height;
>
> LGTM.
>
> Gyan
Fixed the typo and aplied
diff mbox

Patch

diff --git a/libavcodec/decode.c b/libavcodec/decode.c
index 0818475..a7b37c6 100644
--- a/libavcodec/decode.c
+++ b/libavcodec/decode.c
@@ -785,7 +785,7 @@  int attribute_align_arg avcodec_receive_frame(AVCodecContext *avctx, AVFrame *fr
         if (avctx->frame_number > 1) {
             changed = avci->initial_format != frame->format;
 
-           switch(avctx->codec_type) {
+            switch(avctx->codec_type) {
             case AVMEDIA_TYPE_VIDEO:
                 changed |= avci->initial_width  != frame->width ||
                            avci->initial_height != frame->height;