avcodec/ass: assume raw=0 in ff_ass_add_rect_bprint
avcodec/ass: add ASS trailing \r\n in one single place
avcodec/snowenc: remove redundant FF_MPV_OFFSET()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/http: Introduce ff_http_averror()

int ff_http_averror(int status_code, int default_averror)

This helper function returns AVERROR_ value from 3-digit HTTP status
code.

Second argument, default_averror, is used if no specific AVERROR_ is
available. It is introduced because in different places of code
different return codes are used - -1, AVERROR(EIO), AVERROR_INVALIDDATA.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/http: Use ff_http_averror()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>