Guys, since I will need common functionality to be available to both libavforamt/dv.c and libavcodec/dv.c I intend to put all definitions into libavcodec library and make libavformat use it. I believe its ok for libavforamt to depend on libavcodec (it currently does), but wanted to check explicitly... Thanks, Roman.