OSDN Git Service

avcodec/exr: fix layer detection
authorMartin Vignali <martin.vignali@gmail.com>
Sat, 4 Jun 2016 15:42:20 +0000 (17:42 +0200)
committerPaul B Mahol <onemda@gmail.com>
Mon, 6 Jun 2016 13:38:35 +0000 (15:38 +0200)
commit753088a2a4d1519a2cd409f34dac022067b82d76
treefbb965510a5350ebc823b75aff7b7db997941845
parent43a4276c6964a2ec57e08c3c622bb94d35c0441f
avcodec/exr: fix layer detection

Only test a channel if the layer name match.
Avoid to try to mix channel between the main layer (rgba layer),
and the layer request by the user.
libavcodec/exr.c