Merge pull request #632 from alama/master

Fixed compiling on Debian Wheezy AMD64
This commit is contained in:
Marc-André Moreau 2012-06-19 11:55:11 -07:00
commit dc485f4cfb
2 changed files with 3 additions and 4 deletions

View File

@ -499,7 +499,6 @@ TSMFDecoderEntry(void)
if (!initialized)
{
avcodec_init();
avcodec_register_all();
initialized = true;
}

View File

@ -1186,7 +1186,7 @@ static boolean tsmf_gstreamer_decodeEx(ITSMFDecoder * decoder, const uint8 * dat
if (fout)
{
fprintf(fout, "%llu\n", start_time);
fprintf(fout, "%"PRIu64"\n", start_time);
fclose(fout);
}
@ -1212,7 +1212,7 @@ static boolean tsmf_gstreamer_decodeEx(ITSMFDecoder * decoder, const uint8 * dat
if (fin)
{
uint64 AStartTime = 0;
fscanf(fin, "%llu", &AStartTime);
fscanf(fin, "%"PRIu64, &AStartTime);
fclose(fin);
if (start_time > AStartTime)
{
@ -1246,7 +1246,7 @@ static boolean tsmf_gstreamer_decodeEx(ITSMFDecoder * decoder, const uint8 * dat
if (fin)
{
uint64 VStartTime = 0;
fscanf(fin, "%llu", &VStartTime);
fscanf(fin, "%"PRIu64, &VStartTime);
fclose(fin);
if (start_time > VStartTime)
{