rawdec: work with refcounted frames.
authorNicolas George <nicolas.george@normalesup.org>
Sat, 9 Mar 2013 15:47:38 +0000 (16:47 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Mar 2013 00:41:48 +0000 (01:41 +0100)
commit6184fa2067ccf88e68a7009442cf01440e59d99c
treeb7ab966c054390b113ef16a021b4ab9ca3e9e452
parenta05a44e205d6ae13d5eb1cd8d4ad2dba6ec940b3
rawdec: work with refcounted frames.

Adapted from commit 759001c534287a96dc96d1e274665feb7059145d
by Anton Khirnov.

Also, fix the use of || instead of | in a flags check.
libavcodec/rawdec.c