lavc: do not override format if neither text nor bitmap codec prop is set
authorMarton Balint <cus@passwd.hu>
Sat, 27 Jul 2013 19:14:44 +0000 (21:14 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 27 Jul 2013 21:03:00 +0000 (23:03 +0200)
commit63c0113588d61d5ed045e1937c473770453c53be
treef0f18c7875fe9a10d36ef33a9b0d49b6aadae3ed
parent94ad38e2e8a50e8b661bd2dc40a77e91d3b79792
lavc: do not override format if neither text nor bitmap codec prop is set

Some decoders may output both, this way the decoder can set it.

Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/utils.c