Fix 'ignoring return value of function declared with const attribute'
authorThibault Saunier <thibault.saunier@collabora.com>
Sat, 10 Mar 2012 22:10:52 +0000 (19:10 -0300)
committerThibault Saunier <thibault.saunier@collabora.com>
Sat, 10 Mar 2012 22:22:07 +0000 (19:22 -0300)
commit20669d461a4953eb5ed01374d5ab628b4dc73b64
tree5647a44580eba66f6b360066f90406f0779f121f
parenta7eda9ed4942e24f0a3971c3591af54cc4cd9a5b
Fix 'ignoring return value of function declared with const attribute'

This always happens with GstByteReader/Writer and friends when
not taking into account returned boolean of the _read/_write functions
(which is actually wrong).

Make use of the *_unchecked variant as much as possible, or take the
returned value into account.
12 files changed:
gst-libs/gst/codecparsers/gsth264parser.c
gst-libs/gst/codecparsers/gstmpeg4parser.c
gst-libs/gst/codecparsers/gstmpegvideoparser.c
gst-libs/gst/codecparsers/gstvc1parser.c
gst/aiff/aiffmux.c
gst/h264parse/gsth264parse.c
gst/jp2kdecimator/jp2kcodestream.c
gst/mxf/mxfmpeg.c
gst/videoparsers/gsth263parse.c
gst/videoparsers/gsth264parse.c
sys/vdpau/h264/gstvdph264dec.c
sys/vdpau/mpeg/gstvdpmpegdec.c