[FFmpeg-devel] [PATCH 2/2] mpeg4_unpack_bframes: Merge close and flush
Michael Niedermayer
michael at niedermayer.cc
Sat Jul 13 00:27:28 EEST 2019
On Wed, Jul 10, 2019 at 11:08:27PM +0200, Andreas Rheinhardt wrote:
> They are identical now.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
> libavcodec/mpeg4_unpack_bframes_bsf.c | 12 +++---------
> 1 file changed, 3 insertions(+), 9 deletions(-)
>
> diff --git a/libavcodec/mpeg4_unpack_bframes_bsf.c b/libavcodec/mpeg4_unpack_bframes_bsf.c
> index 382070b423..1500d2135d 100644
> --- a/libavcodec/mpeg4_unpack_bframes_bsf.c
> +++ b/libavcodec/mpeg4_unpack_bframes_bsf.c
> @@ -145,13 +145,7 @@ static int mpeg4_unpack_bframes_init(AVBSFContext *ctx)
> return 0;
> }
>
> -static void mpeg4_unpack_bframes_flush(AVBSFContext *bsfc)
> -{
> - UnpackBFramesBSFContext *ctx = bsfc->priv_data;
> - av_buffer_unref(&ctx->b_frame_ref);
> -}
> -
> -static void mpeg4_unpack_bframes_close(AVBSFContext *bsfc)
> +static void mpeg4_unpack_bframes_close_flush(AVBSFContext *bsfc)
> {
LGTM
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Elect your leaders based on what they did after the last election, not
based on what they say before an election.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190712/8ced1b5f/attachment.sig>
More information about the ffmpeg-devel
mailing list