annotate liba52/Makefile @ 23572:a00685941686

demux_mkv very long seek fix The seek code searching for the closest position in the index used "int64_t min_diff=0xFFFFFFFL" as the initial "further from the goal than any real alternative" value. The unit is milliseconds so seeks more than about 75 hours past the end of the file would fail to recognize the last index position as the best match. This was triggered in practice by chapter seek code which apparently uses a seek of 1000000000 seconds forward to mean "seek to the end". The practical effect was that trying to seek to the next chapter in a file without chapters made MPlayer block until it finished reading the file from the current position to the end. Fixed by increasing the initial value from FFFFFFF to FFFFFFFFFFFFFFF.
author uau
date Wed, 20 Jun 2007 18:19:03 +0000
parents afb7111123bb
children 853622d14aa4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22531
090ec2169aee cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents: 22528
diff changeset
1 include ../config.mak
3407
arpi
parents:
diff changeset
2
22528
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 21293
diff changeset
3 LIBNAME_COMMON = liba52.a
3407
arpi
parents:
diff changeset
4
22528
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 21293
diff changeset
5 SRCS_COMMON = crc.c \
22531
090ec2169aee cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents: 22528
diff changeset
6 resample.c \
090ec2169aee cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents: 22528
diff changeset
7 bit_allocate.c \
090ec2169aee cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents: 22528
diff changeset
8 bitstream.c \
090ec2169aee cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents: 22528
diff changeset
9 downmix.c \
090ec2169aee cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents: 22528
diff changeset
10 imdct.c \
090ec2169aee cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents: 22528
diff changeset
11 parse.c \
17943
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
12
21259
92b122592776 Merge common parts of all Makefiles into one file included by all.
diego
parents: 21206
diff changeset
13 include ../mpcommon.mak
3407
arpi
parents:
diff changeset
14
22538
099a3c8158dd Simplify test program compilation.
diego
parents: 22531
diff changeset
15 test: test.c ../osdep/libosdep.a $(LIBNAME_COMMON)
099a3c8158dd Simplify test program compilation.
diego
parents: 22531
diff changeset
16 $(CC) $(CFLAGS) -o $@ $^ -lm