summaryrefslogtreecommitdiff
path: root/examples/vp9_lossless_encoder.c
AgeCommit message (Collapse)Author
2020-05-07examples: use die() on dec/enc_init() failureJames Zern
rather than die_codec(). calling any api functions with an uninitialized codec context is undefined. this avoids a crash in a call to vpx_codec_error_detail(). BUG=webm:1688 Change-Id: I4a4feeabc1cafa44c8d2f24587fad79e313dba6d
2016-09-19examples: quiet -Wshorten-64-to-32 warningsJames Zern
all around usage of strtol/strtoul Change-Id: If907c89f107a068987aa71ddd93cee9a7389e4cd
2016-09-16zero structures completelyJohann
Use vp[89]_zero when possible. Expand the {} set when neither is available or nearby. Change-Id: Ifc1f46f60100916cd798bf7be3a10f09321c99bd
2016-07-18examples: apply clang-formatclang-format
Change-Id: Icc3bbb07c99a31a70030baec7e51b881902a7b5e
2015-05-11tools_common.h: fix usage_exit() prototypeJames Zern
+ the definitions in the examples silences a missing-prototype warning Change-Id: I7c064cacd6d2073a6107de6c3e2cc46ef8a68411
2015-02-04Xcode: Fix includes in examples.Tom Finegan
The current file's directory, ".", is treated much more literally when building libvpx examples with Xcode than it is with make, and clang cannot find common include files included via "./" when those files actually reside one directory up in the tree. Change-Id: I5f66a026282e35d80248ca4052ebb882b859172e
2014-09-11Adding lossless encoding example.Dmitry Kovalev
Change-Id: Ib8498c3127c397b453beff140503b2aca0d11cfc