avcodec/utils : add ff_int_from_list_or_default func
authorMartin Vignali <martin.vignali@gmail.com>
Sun, 2 Dec 2018 20:36:24 +0000 (21:36 +0100)
committerMartin Vignali <martin.vignali@gmail.com>
Tue, 4 Dec 2018 14:17:21 +0000 (15:17 +0100)
commite53901ba5ec3284b8d5882df47cbd8d888279220
treeed13959abca4c509f2dd8f7b9767f772c077bea4
parentaae7e009b3a91031c4f71141450431384f4b0380
avcodec/utils : add ff_int_from_list_or_default func

to check valid value, or return default_value
libavcodec/internal.h
libavcodec/utils.c