diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-12-29 12:19:38 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-12-29 12:19:38 +0000 |
| commit | f7813a5324be39d13ab536c245d15dfc602a7849 (patch) | |
| tree | fad99148b88823d34a5df2f0a25881a002eb291b /ffmpeg/libavformat/bit.c | |
| parent | b7a5a477b8ff4d4e3028b9dfb9a9df0a41463f92 (diff) | |
basic type mechanism working
Diffstat (limited to 'ffmpeg/libavformat/bit.c')
| -rw-r--r-- | ffmpeg/libavformat/bit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ffmpeg/libavformat/bit.c b/ffmpeg/libavformat/bit.c index 9f6ea4a..0be471a 100644 --- a/ffmpeg/libavformat/bit.c +++ b/ffmpeg/libavformat/bit.c @@ -44,7 +44,7 @@ static int probe(AVProbeData *p) return 0; i+=j; } - return AVPROBE_SCORE_MAX/2; + return AVPROBE_SCORE_EXTENSION; } static int read_header(AVFormatContext *s) @@ -139,7 +139,6 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt) init_get_bits(&gb, pkt->data, 8*10); for(i=0; i< 8 * 10; i++) avio_wl16(pb, get_bits1(&gb) ? BIT_1 : BIT_0); - avio_flush(pb); return 0; } |
