lavf: replace rename() with ff_rename()
authorLuca Barbato <lu_zero@gentoo.org>
Sun, 19 Oct 2014 22:48:49 +0000 (00:48 +0200)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 12 Jan 2015 23:04:24 +0000 (00:04 +0100)
commit19fc283dbb53a5f7d6658fd4edcfa59b99369b58
tree1c319b85f3cdc5dfce0805579cd49b8fae471eac
parentb9b689550e7531b1a2cc893d2af623e37f266936
lavf: replace rename() with ff_rename()

The new function wraps errno so that its value is correctly reported
when other functions overwrite it (eg. in case of logging).

CC: libav-stable@libav.org
Bug-Id: CID 1135748
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavformat/hdsenc.c
libavformat/internal.h
libavformat/smoothstreamingenc.c