lavc: fix wrong example code in avcodec_find_best_pix_fmt() docs
authorMatthew Einhorn <moiein2000@gmail.com>
Wed, 17 Aug 2011 23:00:03 +0000 (01:00 +0200)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 17 Aug 2011 23:02:34 +0000 (01:02 +0200)
commit2f53fce3b193beeffdcd1ecf1bf7c80a4e3dc388
tree8b0ee433ca81d555aa435f8d12cfd713b2d5eddd
parent39f9601c10f51fea519f16bccb4509f8ed3c51a7
lavc: fix wrong example code in avcodec_find_best_pix_fmt() docs

A pix_fmt_mask is obtained by bitwise or-ing two pixel format bits,
rather than doing a logical or.

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
libavcodec/avcodec.h