hevc: properly handle errors in the parser
hevc: avoid an infinite loop in parsing

This happened when we consumed bytes from buf but didn't write into
poutbuf, because ff_combine_frame assumes the input and output buffers
are the same, it ignores END_NOT_FOUND if the buffer size is 0.
hevc: add bi pred and fix MV for bi pred (TMPV disabled)
Merge branch 'hm10.0' of https://github.com/OpenHEVC/libav.git into hm10.0
hevc: call ff_combine_frame in the parser even when we don't output any byte
hevc: Fix parsing when a start code overlaps two calls to hevc_parse
hevc: remove wrong comment for hevc_decode_frame
Merge pull request #2 from stseppo/deblocking_dev

Deblocking dev
hevc: fix bi pred
Merge pull request #3 from stseppo/deblocking_dev

P-frame deblocking
hevc: add md5
hevc: fix indent
hevc: fix compilation errors
bug fix : sao_filter
hevc: fix compare in case of B frames
add  NAL_CRA_NUT and NAL_RASL_R nal_type
hevc: fix chroma_mc
bug fix : ref_pic_list
Added support for B slice deblocking
Also less duplicated code in bs calculation