On 2/11/20 7:47 pm, Andreas Rheinhardt wrote:
>> + if (pkt->stream_index == AMV_STREAM_VIDEO) {
>> + /* Save the last packet for padding. */
>> + av_packet_unref(&amv->vpad);
>> + av_packet_ref(&amv->vpad, pkt);
>
> Missing check.
>
For what specifically? Afaics av_buffer_unref() (called from
av_packet_unref()) can handle a NULL buf.
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".