James Almer (12020-04-13):
> I think you can simplify this using the FFBufQueue API instead.
> ff_bufqueue_add() and ff_bufqueue_get() here, ff_bufqueue_peek() in the
> s->median_frames functions to read a frame without altering the queue, etc.

Or even simpler by treating the array as circular.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: PGP signature

_______________________________________________
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