Commit 3affcc99 authored by Michael Niedermayer's avatar Michael Niedermayer

frame_thread_encoder: silence integer to pointer without cast warning

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5ff43ec7
...@@ -98,7 +98,8 @@ static void * attribute_align_arg worker(void *v){ ...@@ -98,7 +98,8 @@ static void * attribute_align_arg worker(void *v){
if(got_packet) { if(got_packet) {
av_dup_packet(pkt); av_dup_packet(pkt);
} else { } else {
pkt->data = pkt->size = 0; pkt->data = NULL;
pkt->size = 0;
} }
pthread_mutex_lock(&c->finished_task_mutex); pthread_mutex_lock(&c->finished_task_mutex);
c->finished_tasks[task.index].outdata = pkt; pkt = NULL; c->finished_tasks[task.index].outdata = pkt; pkt = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment