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