Browse Source

avdevice/internal: add av_warn_unused_result

This does not trigger any warnings but adds robustness.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
tags/n3.0
Ganesh Ajjanagadde 9 years ago
parent
commit
6d0c8cb79a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavdevice/internal.h

+ 1
- 0
libavdevice/internal.h View File

@@ -21,6 +21,7 @@

#include "libavformat/avformat.h"

av_warn_unused_result
int ff_alloc_input_device_context(struct AVFormatContext **avctx, struct AVInputFormat *iformat,
const char *format);



Loading…
Cancel
Save