comparison mov.c @ 157:a9972ec5319f libavformat

warning fixes
author al3x
date Fri, 20 Jun 2003 17:55:24 +0000
parents 2f924727fd96
children efb35207fb1b
comparison
equal deleted inserted replaced
156:6c90bbfc4b97 157:a9972ec5319f
653 av_free(st->codec.extradata); 653 av_free(st->codec.extradata);
654 st->codec.extradata_size = 0x5a + atom.size; 654 st->codec.extradata_size = 0x5a + atom.size;
655 st->codec.extradata = (uint8_t*) av_mallocz(st->codec.extradata_size); 655 st->codec.extradata = (uint8_t*) av_mallocz(st->codec.extradata_size);
656 656
657 if (st->codec.extradata) { 657 if (st->codec.extradata) {
658 int i;
659 strcpy(st->codec.extradata, "SVQ3"); // fake 658 strcpy(st->codec.extradata, "SVQ3"); // fake
660 get_buffer(pb, st->codec.extradata + 0x5a, atom.size); 659 get_buffer(pb, st->codec.extradata + 0x5a, atom.size);
661 //printf("Reading SMI %Ld %s\n", atom.size, (char*)st->codec.extradata + 0x5a); 660 //printf("Reading SMI %Ld %s\n", atom.size, (char*)st->codec.extradata + 0x5a);
662 } else 661 } else
663 url_fskip(pb, atom.size); 662 url_fskip(pb, atom.size);