They are identical now.
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -145,13 +145,7 @@ static int mpeg4_unpack_bframes_init(AVBSFContext *ctx) · 144 unmodified lines | |||
| 145 | return 0; | 145 | return 0; |
| 146 | } | 146 | } |
| 147 | 147 | ||
| 148 | static void mpeg4_unpack_bframes_flush(AVBSFContext *bsfc) | 148 | static void mpeg4_unpack_bframes_close_flush(AVBSFContext *bsfc) |
| 149 | { | ||
| 150 | UnpackBFramesBSFContext *ctx = bsfc->priv_data; | ||
| 151 | av_buffer_unref(&ctx->b_frame_ref); | ||
| 152 | } | ||
| 153 | |||
| 154 | static void mpeg4_unpack_bframes_close(AVBSFContext *bsfc) | ||
| 155 | { | 149 | { |
| 156 | UnpackBFramesBSFContext *ctx = bsfc->priv_data; | 150 | UnpackBFramesBSFContext *ctx = bsfc->priv_data; |
| 157 | av_buffer_unref(&ctx->b_frame_ref); | 151 | av_buffer_unref(&ctx->b_frame_ref); |
| @@ -166,7 +160,7 @@ const AVBitStreamFilter ff_mpeg4_unpack_bframes_bsf = { · 8 unmodified lines | |||
| 166 | .priv_data_size = sizeof(UnpackBFramesBSFContext), | 160 | .priv_data_size = sizeof(UnpackBFramesBSFContext), |
| 167 | .init = mpeg4_unpack_bframes_init, | 161 | .init = mpeg4_unpack_bframes_init, |
| 168 | .filter = mpeg4_unpack_bframes_filter, | 162 | .filter = mpeg4_unpack_bframes_filter, |
| 169 | .flush = mpeg4_unpack_bframes_flush, | 163 | .flush = mpeg4_unpack_bframes_close_flush, |
| 170 | .close = mpeg4_unpack_bframes_close, | 164 | .close = mpeg4_unpack_bframes_close_flush, |
| 171 | .codec_ids = codec_ids, | 165 | .codec_ids = codec_ids, |
| 172 | }; | 166 | }; |