History

Merge commit 'db7f1c7c5a1d37e7f4da64a79a97bea1c4b6e9f8'

* commit 'db7f1c7c5a1d37e7f4da64a79a97bea1c4b6e9f8': h264: Move start code search functions into separate source files. Conflicts: libavcodec/arm/Makefile libavcodec/arm/h264dsp_init_arm.c libavcodec/h264_parser.c libavcodec/h264dsp.c libavcodec/startcode.c libavcodec/startcode.h

Michael Niedermayer committed 12 years ago

Commit 77aafad2 parents de41798 db7f1c710 files · +39 −15Browse files

Showing the changes to libavcodec/startcode.c (1 of 10 files). Show all

Unified · Split

libavcodec/startcode.c+3−3
@@ -36,19 +36,19 @@ int ff_startcode_find_candidate_c(const uint8_t *buf, int size) · 35 unmodified lines
3636 * simpler and there must be FF_INPUT_BUFFER_PADDING_SIZE
3737 * bytes at the end.
3838 */
39−# if HAVE_FAST_64BIT
39+#if HAVE_FAST_64BIT
4040 while (i < size &&
4141 !((~*(const uint64_t *)(buf + i) &
4242 (*(const uint64_t *)(buf + i) - 0x0101010101010101ULL)) &
4343 0x8080808080808080ULL))
4444 i += 8;
45−# else
45+#else
4646 while (i < size &&
4747 !((~*(const uint32_t *)(buf + i) &
4848 (*(const uint32_t *)(buf + i) - 0x01010101U)) &
4949 0x80808080U))
5050 i += 4;
51−# endif
51+#endif
5252 #endif
5353 for (; i < size; i++)
5454 if (!buf[i])

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t