[FFmpeg-devel] Google Summer of Code participation
Thilo Borgmann
thilo.borgmann
Wed Apr 8 23:54:08 CEST 2009
Michael Niedermayer schrieb:
>> diff --git a/ffplay.c b/ffplay.c
>> index 18422e2..d48e009 100644
>> --- a/ffplay.c
>> +++ b/ffplay.c
>> @@ -135,9 +135,8 @@ typedef struct VideoState {
>> uint8_t *audio_buf;
>> unsigned int audio_buf_size; /* in bytes */
>> int audio_buf_index; /* in bytes */
>> + AVPacket avpkt;
>>
>
> i would prefer audio_pkt_temp as name
>
>
Ok.
>> @@ -1797,6 +1797,7 @@ static int stream_component_open(VideoState *is, int stream_index)
>> is->audio_diff_threshold = 2.0 * SDL_AUDIO_BUFFER_SIZE / enc->sample_rate;
>>
>> memset(&is->audio_pkt, 0, sizeof(is->audio_pkt));
>> + memset(&is->avpkt, 0, sizeof(is->avpkt));
>> packet_queue_init(&is->audioq);
>> SDL_PauseAudio(0);
>> break;
>>
>
> is this needed?
>
>
Oh... of course not, my fault.
TB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tb.APICallsFFplay.rev2.patch
Type: text/x-patch
Size: 3407 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090408/03e8bebb/attachment.bin>
More information about the ffmpeg-devel
mailing list