Build av_free_packet_internal always, regardless av_free_packet

This resolves FTBFS if av_free_packet exists
pull/1/head
Slávek Banko 10 years ago
parent 2897194bc2
commit 24e31dabaa

@ -40,7 +40,6 @@ void *SwscaleHandle=0;
int glibref=0; int glibref=0;
#ifdef NEW_FFMPEG #ifdef NEW_FFMPEG
#ifdef NEEDS_AV_FREE_PACKET
void av_free_packet_internal(AVPacket *pkt) void av_free_packet_internal(AVPacket *pkt)
{ {
if (pkt) { if (pkt) {
@ -49,7 +48,6 @@ void av_free_packet_internal(AVPacket *pkt)
} }
} }
#endif #endif
#endif
#ifdef HAVE_SWSCALE #ifdef HAVE_SWSCALE
#include "libswscale/swscale.h" #include "libswscale/swscale.h"

Loading…
Cancel
Save