yop: only set extradata size after it has been successfully allocated
authorAnton Khirnov <anton@khirnov.net>
Sat, 3 May 2014 08:48:03 +0000 (10:48 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sun, 18 May 2014 08:22:42 +0000 (10:22 +0200)
commitab3fdaa7131e2fd8e33006daea25a282724c01f0
treeacda4a15ceb33bbe979c20f9ca60c83026ce7d0b
parentb513bf6f69e26e724de6d5dca642c3582dcd0517
yop: only set extradata size after it has been successfully allocated

Do not leave a non-zero extradata_size set on failure
libavformat/yop.c