Mercurial > libavformat.hg
comparison avidec.c @ 119:602546f3cbea libavformat
Complete support for OpenDML AVIs and AVIs > 2Gb.
author | romansh |
---|---|
date | Wed, 23 Apr 2003 02:04:40 +0000 |
parents | 9fd9b0f9e9d8 |
children | f4de8f9c39bd |
comparison
equal
deleted
inserted
replaced
118:79d651162d35 | 119:602546f3cbea |
---|---|
366 av_init_packet(pkt); | 366 av_init_packet(pkt); |
367 pkt->data = avi->buf; | 367 pkt->data = avi->buf; |
368 pkt->size = avi->buf_size; | 368 pkt->size = avi->buf_size; |
369 pkt->destruct = __destruct_pkt; | 369 pkt->destruct = __destruct_pkt; |
370 pkt->stream_index = avi->stream_index; | 370 pkt->stream_index = avi->stream_index; |
371 pkt->flags |= PKT_FLAG_KEY; // FIXME: We really should read index for that | |
371 avi->stream_index = !avi->stream_index; | 372 avi->stream_index = !avi->stream_index; |
372 return 0; | 373 return 0; |
373 } | 374 } |
374 | 375 |
375 static int avi_read_close(AVFormatContext *s) | 376 static int avi_read_close(AVFormatContext *s) |