Quoting James Almer (2023-07-09 14:11:14)
> 
> I could call it discard_samples_or_frame(), or discard_frame().
> If i process the video in the caller, it will end up being duplicated in 
> patch 2, which goes against the point of factoring this out.

The duplicated code would be 2 very simple lines. The cost you're paying
for avoiding the duplication seems worse to me.

-- 
Anton Khirnov
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to