Just to add my experience, I ran into this problem when trying to compile xine-vdpau. I have dvdstyler installed and it depends on the unstripped packages. However, xine-vdpau won't compile without the libavxxxx dev packages, so it was a catch 22.
Anyway, I found that by building my own ffmpeg from source and configuring with --enable-shared and installing to /usr/local, then I was finally able to compile xine-vdpau. I assume this is because compiling ffmpeg with --enable-shared installs the shared libs to /usr/local, and xine-vdpau looked in there for the necessary lib files that would have otherwise been provided by libavcodec-dev, etc..? Just a guess, I'm not an expert on these matters.
Just to add my experience, I ran into this problem when trying to compile xine-vdpau. I have dvdstyler installed and it depends on the unstripped packages. However, xine-vdpau won't compile without the libavxxxx dev packages, so it was a catch 22.
Anyway, I found that by building my own ffmpeg from source and configuring with --enable-shared and installing to /usr/local, then I was finally able to compile xine-vdpau. I assume this is because compiling ffmpeg with --enable-shared installs the shared libs to /usr/local, and xine-vdpau looked in there for the necessary lib files that would have otherwise been provided by libavcodec-dev, etc..? Just a guess, I'm not an expert on these matters.