Andrey Semashev (2018-12-06): > Could you provide an example where ENOTSUP (i.e. the error code) would make > more sense for a sync operation, as opposed to AVIO_SYNC_NOT_SUPPORTED (i.e. > the success code)?
It is not a matter making more sense, both are semantically equivalent. It is a matter of better matching the rest of the API. > I have used this API internally in an application for a few years, and I > never wanted to distinguish the "not supported" case from "success", let > alone specifically handle it as an error. If you do not care that the sync was not done, then you did not need to sync in the first place. Syncing is about guaranteeing the user that the data is safe; if you ignore the information that it was not done, then you are not guaranteeing it. Regards, -- Nicolas George
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel