diff options
Diffstat (limited to 'media/ffvpx/libavcodec/bsf.c')
-rw-r--r-- | media/ffvpx/libavcodec/bsf.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/media/ffvpx/libavcodec/bsf.c b/media/ffvpx/libavcodec/bsf.c index bd611ea16..38b423101 100644 --- a/media/ffvpx/libavcodec/bsf.c +++ b/media/ffvpx/libavcodec/bsf.c @@ -174,8 +174,6 @@ int av_bsf_init(AVBSFContext *ctx) int av_bsf_send_packet(AVBSFContext *ctx, AVPacket *pkt) { - int ret; - if (!pkt || (!pkt->data && !pkt->side_data_elems)) { ctx->internal->eof = 1; return 0; @@ -190,9 +188,6 @@ int av_bsf_send_packet(AVBSFContext *ctx, AVPacket *pkt) ctx->internal->buffer_pkt->side_data_elems) return AVERROR(EAGAIN); - ret = av_packet_make_refcounted(pkt); - if (ret < 0) - return ret; av_packet_move_ref(ctx->internal->buffer_pkt, pkt); return 0; |