Browse Source

frame_thread_encoder: silence integer to pointer without cast warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 12 years ago
parent
commit
3affcc99a8
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavcodec/frame_thread_encoder.c

+ 2
- 1
libavcodec/frame_thread_encoder.c View File

@@ -98,7 +98,8 @@ static void * attribute_align_arg worker(void *v){
if(got_packet) {
av_dup_packet(pkt);
} else {
pkt->data = pkt->size = 0;
pkt->data = NULL;
pkt->size = 0;
}
pthread_mutex_lock(&c->finished_task_mutex);
c->finished_tasks[task.index].outdata = pkt; pkt = NULL;


Loading…
Cancel
Save