OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31ed189
)
avutil/file: add av_warn_unused_result to av_file_map
author
Ganesh Ajjanagadde
<gajjanagadde@gmail.com>
Thu, 15 Oct 2015 22:18:02 +0000
(18:18 -0400)
committer
Ganesh Ajjanagadde
<gajjanagadde@gmail.com>
Fri, 16 Oct 2015 21:18:39 +0000
(17:18 -0400)
The return code here should be checked.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
libavutil/file.h
patch
|
blob
|
history
diff --git
a/libavutil/file.h
b/libavutil/file.h
index
1cae295
..
e931be7
100644
(file)
--- a/
libavutil/file.h
+++ b/
libavutil/file.h
@@
-40,6
+40,7
@@
* @return a non negative number in case of success, a negative value
* corresponding to an AVERROR error code in case of failure
*/
+av_warn_unused_result
int av_file_map(const char *filename, uint8_t **bufptr, size_t *size,
int log_offset, void *log_ctx);