lavf,lavc: free avoptions in a generic way.
authorAnton Khirnov <anton@khirnov.net>
Sun, 5 Jun 2011 11:18:17 +0000 (13:18 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sun, 5 Jun 2011 13:01:36 +0000 (15:01 +0200)
commit367732832faaf1bac4ece37cf7fef8c911e16312
tree3e3cf5d1809f898f9f25dca63b2e2f8117424bde
parentb39b06233dfd69b941a32f29171dfb63abb23c06
lavf,lavc: free avoptions in a generic way.

It's simpler and less error-prone.

Fixes some memleaks along the way.
libavcodec/utils.c
libavdevice/bktr.c
libavdevice/fbdev.c
libavdevice/libdc1394.c
libavdevice/v4l2.c
libavdevice/vfwcap.c
libavdevice/x11grab.c
libavformat/rawdec.c
libavformat/tty.c
libavformat/utils.c