[FFmpeg-devel] Google Summer of Code participation
Thilo Borgmann
thilo.borgmann
Sun Apr 5 20:17:59 CEST 2009
Ronald S. Bultje schrieb:
> Hi,
>
> On Sun, Apr 5, 2009 at 11:19 AM, Thilo Borgmann
> <thilo.borgmann at googlemail.com> wrote:
>
>> I've moved the declaration of AVPacket into libavcodec thus libavformat
>> depends on libavcodec? If so, this function could also be moved into
>> avcodec?
>>
>
> Yes, and the destructor functions also.
>
>
Would it make sense to move all of them?
/* packet functions */
void av_destruct_packet_nofree(AVPacket *pkt);
void av_destruct_packet(AVPacket *pkt);
void av_init_packet(AVPacket *pkt);
int av_new_packet(AVPacket *pkt, int size);
int av_get_packet(ByteIOContext *s, AVPacket *pkt, int size);
int av_dup_packet(AVPacket *pkt);
static inline void av_free_packet(AVPacket *pkt)
TB
More information about the ffmpeg-devel
mailing list