diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-08 12:33:09 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-08 20:55:49 +0200 |
commit | 6db97188d89e70d389e102a6f72555cfee64af30 (patch) | |
tree | 1fb80d8a1d9c4e9615708ab402a98c12f8dd3222 /libavcodec/null_bsf.c | |
parent | 47cd3c88c5f3180710494b775634398be1445fbf (diff) | |
download | ffmpeg-6db97188d89e70d389e102a6f72555cfee64af30.tar.gz |
avcodec/(null|opus_metadata)_bsf: Use ff_bsf_get_packet_ref() directly
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/null_bsf.c')
-rw-r--r-- | libavcodec/null_bsf.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libavcodec/null_bsf.c b/libavcodec/null_bsf.c index 24d26dfb1a..37f4640c87 100644 --- a/libavcodec/null_bsf.c +++ b/libavcodec/null_bsf.c @@ -24,12 +24,7 @@ #include "avcodec.h" #include "bsf.h" -static int null_filter(AVBSFContext *ctx, AVPacket *pkt) -{ - return ff_bsf_get_packet_ref(ctx, pkt); -} - const AVBitStreamFilter ff_null_bsf = { .name = "null", - .filter = null_filter, + .filter = ff_bsf_get_packet_ref, }; |