summaryrefslogtreecommitdiff
path: root/toxav/rtp.h
AgeCommit message (Collapse)Author
2016-11-20Fix NULL pointer dereference in log callsMaxim Biro
2016-09-13Add some astyle options to make it do more.iphydf
It now enforces a bit more formatting. In particular, padding inside parentheses is removed. I would like it to remove padding after unary operators, but there seems to be no option for that.
2016-09-13Group #include directives in 3-4 groups.iphydf
1. Current module (if C file). 2. Headers from current library. 3. Headers from other library (e.g. toxcore includes in toxav). 4. System headers.
2016-09-08Fix compilation for Windows.iphydf
- Mingw32 didn't read MSDN, so behaves badly despite lean and mean. - Avoid alignment issues on windows with packed bitfields in the RTP header. This change makes the program ill-formed in C99, but I don't know the correct fix at the moment, and I don't want to keep the Windows build broken for too long.
2016-09-06Improve C standard compliance.iphydf
- Don't cast between object and function pointers. - Use standard compliant `__VA_ARGS__` in macros. - Add explicit `__extension__` on unnamed union in struct (it's a GNU extension). - Remove ; after function definitions. - Replace `const T foo = 3;` for integral types `T` with `enum { foo = 3 };`. Folding integral constants like that as compile time constants is a GNU extension. Arrays allocated with `foo` as dimension are VLAs on strictly compliant C99 compilers. - Replace empty initialiser list `{}` with zero-initialiser-list `{0}`. The former is a GNU extension meaning the latter. - Cast `T*` (where `T != void`) to `void *` in format arguments. While any object pointer can be implicitly converted to and from `void *`, this conversion does not happen in variadic function calls. - Replace arithmetic on `void *` with arithmetic on `char *`. The former is non-compliant. - Replace non-`int`-derived types (like `uint16_t`, which is `short`-derived) in bit fields with `int`-derived types. Using any type other than `int` or `unsigned int` (or any of their aliases) in bit fields is a GNU extension.
2016-09-01Sort #includes in all source files.iphydf
2016-09-01Match parameter names in declarations with their definitions.iphydf
The parameter names were taken from function definitions to update the names in function declarations (prototypes).
2016-01-13Fix issue #1497Eniz Vukovic
2015-11-11fix BWController misspellingTibor Stolz
2015-10-26Fix possible misalignment of RTP headerEniz Vukovic
2015-10-10New Adaptive BR algorithm, cleanups and fixesEniz Vukovic
2015-08-09Updated with upstreammannol
2015-05-07Fixed inconsistenciesmannol
2015-04-29Donemannol
2015-04-27Almooooooostmannol
2015-04-26Almost donemannol
2015-04-22Finished refactoringmannol
2015-04-16The pretty basic adaptive bitrate is *working*mannol
2015-04-13Started custom RTCPmannol
2015-04-08Video works nowmannol
2015-04-07Video works but there is one deadlock left and video replay is slowmannol
2015-03-29A little CS cleanupmannol
2015-02-21New msi protocolmannol
2015-02-17Added 2 new headers into msi for buffer controlmannol
2015-02-16Fixed header protectors and cleaning up the msimannol
2015-02-01Progressmannol
2015-01-24Current progressmannol
2014-11-29More av cleanupmannol
2014-11-24Merge branch 'master' of https://github.com/mannol/toxcoreirungentoo
2014-11-18av refactormannol
2014-07-21Improved protocol and cleaned code a bitmannol
2014-07-05Make rtp & codec actions thread-safemannol
2014-06-28Removed redundant encryption and assertsmannol
2014-06-18Removed IRC referencesMaxim Biro
2014-05-25Merge branch 'mannol1-Multicalls' into multi-avirungentoo
2014-05-22Merge remote-tracking branch 'upstream/master' into Multicalls-patchmannol
2014-05-21Added functions to send and receive lossy encrypted packets overirungentoo
the Tox connection. A/V should now work over TCP.
2014-05-03Bunch of random changesmannol
2014-03-07Fixed several bugs and added some featuresmannol
2014-02-16Astyled av code.irungentoo
2014-02-16Moved event to toxavmannol
2014-02-16Public header ready to gomannol
2014-02-16Started adding public APImannol