/*
- * Avi/AvxSynth support
+ * AviSynth/AvxSynth support
* Copyright (c) 2012 AvxSynth Team.
*
* This file is part of FFmpeg
(int64_t)avs->vi->height) * bits) / 8;
if (!pkt->size)
return AVERROR_UNKNOWN;
- av_new_packet(pkt, (int)pkt->size);
if (av_new_packet(pkt, (int)pkt->size) < 0) {
av_free(pkt);
return AVERROR(ENOMEM);