[FFmpeg-devel] [PATCH] avcodec: don't include vdpau_compat.h when vdpau is not enabled

James Almer jamrial at gmail.com
Thu Aug 4 02:35:05 EEST 2016


On 8/3/2016 7:59 PM, Carl Eugen Hoyos wrote:
> Hi!
> 
> 2016-08-04 0:33 GMT+02:00 James Almer <jamrial at gmail.com>:
>> This removes unnecessary header dependencies.
> 
> Why is this an advantage?

h263, vc1 and mpeg decoder were pointlessly pulling the entire set
of h264 headers because of it.

> 
>>  5 files changed, 25 insertions(+), 20 deletions(-)
> 
> This doesn't imply a simplification...

The patch is not about simplifying the source files. And the extra
lines are simply wrappers for the header inclusion.

> 
> Carl Eugen
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 



More information about the ffmpeg-devel mailing list