summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-06 20:08:30 +0100
committerRonald S. Bultje <rsbultje@gmail.com>2011-03-07 12:25:36 -0500
commitf1ef2cd9ed22be231bb4da8d2f93d9a0c7877aa7 (patch)
treefd9ec78eaa106f3f8172a1bc36e459d102ad99a7 /libavformat/utils.c
parente8bb2e24398ec838d9e49cf115b7e132609a9fb7 (diff)
avio: move ff_rewind_with_probe_data from avio.h to avio_internal.h
also change its prefix to ffio Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index abe3cf9021..918b07df41 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "avformat.h"
+#include "avio_internal.h"
#include "internal.h"
#include "libavcodec/internal.h"
#include "libavutil/opt.h"
@@ -585,7 +586,7 @@ int av_probe_input_buffer(AVIOContext *pb, AVInputFormat **fmt,
}
/* rewind. reuse probe buffer to avoid seeking */
- if ((ret = ff_rewind_with_probe_data(pb, buf, pd.buf_size)) < 0)
+ if ((ret = ffio_rewind_with_probe_data(pb, buf, pd.buf_size)) < 0)
av_free(buf);
return ret;