Patch by Eli Friedman, eli d friedman a gmail Originally committed as revision 24020 to svn://svn.ffmpeg.org/ffmpeg/trunk
Unified · Split
| @@ -95,7 +95,7 @@ static int get_packetheader(NUTContext *nut, ByteIOContext *bc, int calculate_ch · 94 unmodified lines | |||
| 95 | // start= url_ftell(bc) - 8; | 95 | // start= url_ftell(bc) - 8; |
| 96 | 96 | ||
| 97 | startcode= be2me_64(startcode); | 97 | startcode= be2me_64(startcode); |
| 98 | startcode= ff_crc04C11DB7_update(0, &startcode, 8); | 98 | startcode= ff_crc04C11DB7_update(0, (uint8_t*)&startcode, 8); |
| 99 | 99 | ||
| 100 | init_checksum(bc, ff_crc04C11DB7_update, startcode); | 100 | init_checksum(bc, ff_crc04C11DB7_update, startcode); |
| 101 | size= ff_get_v(bc); | 101 | size= ff_get_v(bc); |