Message ID | 1570196215-10418-1-git-send-email-mypopydev@gmail.com |
---|---|
State | Accepted |
Commit | b0e6822448166b626a2a3bfdfdade5da25dc7a0d |
Headers | show |
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
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 [...]
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
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 --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;