diff options
author | Luca Abeni <lucabe72@email.it> | 2010-04-28 08:02:52 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2010-04-28 08:02:52 +0000 |
commit | b01dba14f36aa3ff3d6fe89acf71eddbd65e7027 (patch) | |
tree | 264c8dd93efea9a9ff348601a3a6422fcbcd5457 /libavutil/utils.c | |
parent | 337104ac1fe3ded85e5d43e5717a7d934e3da6c4 (diff) | |
download | ffmpeg-b01dba14f36aa3ff3d6fe89acf71eddbd65e7027.tar.gz |
Check the return value of device_try_init() immediately after calling such a
function. Avoids the following warning:
libavdevice/v4l2.c: In function ‘v4l2_read_header’:
libavdevice/v4l2.c:586: warning: ‘codec_id’ may be used uninitialized in this function
Originally committed as revision 22986 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/utils.c')
0 files changed, 0 insertions, 0 deletions