This should not trigger any warnings, but adds robustness. Untested. Signed-off-by: Ganesh Ajjanagadde <gajjanaga...@gmail.com> --- libavdevice/decklink_common.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/libavdevice/decklink_common.h b/libavdevice/decklink_common.h index 3bc30f0..eb13a1b 100644 --- a/libavdevice/decklink_common.h +++ b/libavdevice/decklink_common.h @@ -96,8 +96,12 @@ typedef uint32_t buffercount_type; HRESULT ff_decklink_get_display_name(IDeckLink *This, const char **displayName); +av_warn_unused_result int ff_decklink_set_format(AVFormatContext *avctx, int width, int height, int tb_num, int tb_den, decklink_direction_t direction = DIRECTION_OUT, int num = 0); +av_warn_unused_result int ff_decklink_set_format(AVFormatContext *avctx, decklink_direction_t direction, int num); +av_warn_unused_result int ff_decklink_list_devices(AVFormatContext *avctx); +av_warn_unused_result int ff_decklink_list_formats(AVFormatContext *avctx, decklink_direction_t direction = DIRECTION_OUT); -- 2.6.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel