idcin: fix return check

CC: libav-stable@libav.org
Bug-Id: CID 732198
avio: fix sizeof argument

CC: libav-stable@libav.org
Bug-Id: CID 732284
aviobuf: check context before using it

Avoid a possible null pointer dereference.

CC: libav-stable@libav.org
Bug-Id: CID 1135769
network: check return values

ff_socket_nonblock wraps fcntl.

CC: libav-stable@libav.org
Bug-Id: CID 1026742 / CID 1026743 /CID 1026744 / CID 1087075
img2dec: check av_new_packet return value

CC: libav-stable@libav.org
Bug-Id: CID 1087077
rmdec: check av_new_packet return value

CC: libav-stable@libav.org
Bug-Id: CID 733714
sol: simplify sol_codec_id

CC: libav-stable@libav.org
Bug-Id: CID 1238993
rtpproto: Free the addrinfo pointer on failure

CC: libav-stable@libav.org
Bug-Id: CID 1238797
rtspdec: check strchr return value

CC: libav-stable@libav.org
Bug-Id: CID 1041130
rtpdec_hevc: drop unnecessary check

len is always >=1 in that case.

Bug-Id: CID 1238784
rtpenc: check mb_info return value before using it

CC: libav-stable@libav.org
Bug-Id: CID 1035715
rtmpproto: remove dead code

Expression already evaluated before, redundant since
053386864219eccbcca1886c55f902f9555428a5.

Bug-Id: CID 732199
xwma: Do not leak on failure path

CC: libav-stable@libav.org
Bug-Id: CID 1087092
nutdec: Prevent a memory corruption

Chapters do not have an event_flags field.

Bug-Id: CID 1231990
nutdec: check av_new_packet return value

CC: libav-stable@libav.org
Bug-Id: CID 733713
nutenc: check for negative index rather than assert

CC: libav-stable@libav.org
Bug-Id: CID 703721
swfenc: prevent theoretical double free

CC: libav-stable@libav.org
Bug-Id: CID 602000
flvdec: make sure to check create_stream and report the same error

CC: libav-stable@libav.org
Bug-Id: CID 732242
bethsoftvid: check return value

CC: libav-stable@libav.org
Bug-Id: CID 733777
smoothstreamingenc: check ffurl_open return value

CC: libav-stable@libav.org
Bug-Id: CID 732187