asfdec: prevent the memory leak in the asf_read_metada_obj
authorAlexandra Hájková <alexandra.khirnova@gmail.com>
Thu, 13 Aug 2015 08:16:20 +0000 (10:16 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 16 Aug 2015 18:00:37 +0000 (20:00 +0200)
commit317cfaa5e09755ed0b34af512ec687963a67bdbf
tree52ad81bb69e3073610cbb21a7a5211e73bbf0c10
parent58c3720a3cc71142b5d48d8ccdc9213f9a66cd33
asfdec: prevent the memory leak in the asf_read_metada_obj

also do not return the error code but just break reading
metadata object in the case of the aspect ratio reading failure

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavformat/asfdec.c