Message ID | 20200925144318.6194-7-jamrial@gmail.com |
---|---|
State | Accepted |
Commit | aa5e49e46d3aa22cc805c85a982afac1405aede5 |
Headers | show |
Series | [FFmpeg-devel,1/8] avcodec/cbs: add a flush callback to CodedBitstreamType | expand |
Context | Check | Description |
---|---|---|
andriy/default | pending | |
andriy/make | success | Make finished |
andriy/make_fate | success | Make fate finished |
On 25/09/2020 15:43, James Almer wrote: > Signed-off-by: James Almer <jamrial@gmail.com> > --- > libavcodec/av1dec.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c > index a30a496b4c..07026b7aeb 100644 > --- a/libavcodec/av1dec.c > +++ b/libavcodec/av1dec.c > @@ -854,6 +854,8 @@ static void av1_decode_flush(AVCodecContext *avctx) > av1_frame_unref(avctx, &s->cur_frame); > s->raw_frame_header = NULL; > s->raw_seq = NULL; > + > + ff_cbs_flush(s->cbc); > } > > AVCodec ff_av1_decoder = { > Patches 6 and 7 LGTM. Thanks, - Mark
On 9/29/2020 12:58 PM, Mark Thompson wrote: > On 25/09/2020 15:43, James Almer wrote: >> Signed-off-by: James Almer <jamrial@gmail.com> >> --- >> libavcodec/av1dec.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c >> index a30a496b4c..07026b7aeb 100644 >> --- a/libavcodec/av1dec.c >> +++ b/libavcodec/av1dec.c >> @@ -854,6 +854,8 @@ static void av1_decode_flush(AVCodecContext *avctx) >> av1_frame_unref(avctx, &s->cur_frame); >> s->raw_frame_header = NULL; >> s->raw_seq = NULL; >> + >> + ff_cbs_flush(s->cbc); >> } >> AVCodec ff_av1_decoder = { >> > > Patches 6 and 7 LGTM. > > Thanks, > > - Mark Both patches pushed.
diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c index a30a496b4c..07026b7aeb 100644 --- a/libavcodec/av1dec.c +++ b/libavcodec/av1dec.c @@ -854,6 +854,8 @@ static void av1_decode_flush(AVCodecContext *avctx) av1_frame_unref(avctx, &s->cur_frame); s->raw_frame_header = NULL; s->raw_seq = NULL; + + ff_cbs_flush(s->cbc); } AVCodec ff_av1_decoder = {
Signed-off-by: James Almer <jamrial@gmail.com> --- libavcodec/av1dec.c | 2 ++ 1 file changed, 2 insertions(+)