aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_ocr.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-10-31 14:36:38 +0100
committerLuca Barbato <lu_zero@gentoo.org>2015-11-03 15:03:12 +0100
commitf128b8e19ac7f702adae899ab91cc1e80f238761 (patch)
tree6ab7adc2e5ed3881ccbd5eb525db8c83e6068493 /libavfilter/vf_ocr.c
parent50d2a3b5f34e6f99e5ffe17f2be5eb1815555960 (diff)
downloadffmpeg-f128b8e19ac7f702adae899ab91cc1e80f238761.tar.gz
mov: detect cover art pictures by content
I've got some m4a samples that had jpeg cover art marked as png. Since these files were supposedly written by iTunes, and other software can read it (e.g. clementine does), this should be worked around. Since png has a very simple to detect header, while it's apparently a real pain to detect jpeg in the general case, try to detect png and assume jpeg otherwise. Not bothering with bmp, as I have no test case. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavfilter/vf_ocr.c')
0 files changed, 0 insertions, 0 deletions