lavd/v4l2: implement consistent error handling
authorStefano Sabatini <stefasab@gmail.com>
Sun, 10 Feb 2013 11:14:40 +0000 (12:14 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Sun, 10 Feb 2013 16:09:57 +0000 (17:09 +0100)
commit60950adc18fe145a235211e75da68ab07123fcaa
tree76b70e3668c30dcd3fc4cd155c79b4119ca1c05c
parente005697af6853cd5cba6877fd6189cc26f6aa241
lavd/v4l2: implement consistent error handling

In particular, avoid use of non-thread-safe strerror(), and store errno
before calling av_log().
libavdevice/v4l2.c