summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-04Simplify code and update code style.Diego 'Flameeyes' Pettenò
With this change a lot of variables now result unused, as before they were only assigned after declaration. --HG-- extra : transplant_source : S%D1%AF%8B%F9%C12%16%B2%F7%F0%A6zpA%5C%C7%12%AE%E8
2008-07-04Update code style.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %D0%D6%EB%ACQ%28%9B1i%21%A4%8F%BB%A3%CF%5E%BC%CB%5E%A3
2008-07-04Update code style. Mark sizes as constant.Diego 'Flameeyes' Pettenò
Don't call strlen() in loops, move the pointer instead. --HG-- extra : transplant_source : 9%7Bm%83%99%13Q%0EI%7B%F3%DB%7BEb%C6%D1%29dR
2008-07-04Simplify switch_buf return values.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : v%FE%E4L9%A7x%2B%F41%2B%12P%06%A8%12%DC%ED%3A%84
2008-07-04Cleanup code style, use memmem() to find the start of a frame.Diego 'Flameeyes' Pettenò
Cleanup the code to follow the new code style, and in particuar use memmem() to identify the start of a frame rather than trying to look for it manually byte by byte. --HG-- extra : transplant_source : H%E8-%9D%AA%3A%40%FE%E6%ACE%F0%11G%BA%C6%FA%C4w%96
2008-07-04Use memcmp() instead of manual comparison of bytes when checking signatures.Diego 'Flameeyes' Pettenò
When it make sense, use _x_is_fourcc() too. --HG-- extra : transplant_source : %A7%AA%1D%B1%EE3%BF%2C%BCn%2B%3Dt%2Bi%E6%80%8ERm
2008-07-04Use id3.h functions to check for ID3 tags.Diego 'Flameeyes' Pettenò
Rather than checking for the ID3 signature manually use id3_istag() function. Also use the _X_BE_32_synchsafe function rather than re-implementing it again. Use memcmp() to look for MPC signature. --HG-- extra : transplant_source : %3A%8CE%9B%B6%BC%CBm%DA%A4%26M%A0%CC%C5OV%1C%93%01
2008-07-04Improve header processing and misc cleanups.Diego 'Flameeyes' Pettenò
When processing the header, read the whole 12-bytes block at once, then use _x_is_fourcc() to check for the signatures, and only then try to find the size. --HG-- extra : transplant_source : %B8%90%00%DAJ%7F%3F%E4%00%05%07z%3D%C5%02%03v%A8%B4C
2008-07-04Use the new _x_is_fourcc() function and also memcmp().Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %F8H%5B%D0%15z%0E%22%CC.%84%E6%ADA/%FF%0F%81%BCS
2008-07-04Cleanup code style and use the new _x_is_fourcc() function.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %CB%BE%C4%81%A4%F8%C9.%3E%3B%EFa%2A%3E%1E%5B%B4%B0%25t
2008-07-04Simplify signature checks, especially for OggFLAC files.Diego 'Flameeyes' Pettenò
Use memcmp over the signature rather than checking byte by byte. --HG-- extra : transplant_source : %B3%8B%EE%85%B9%11%B0%10po%D9%17%CD%034%FC%F5%90%95%92
2008-07-04Use the new _x_is_fourcc() funtion to check for FOURCC tags in files.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %B5%96xd%99U%EC%7Cr%ABB%A8%26l%08%99L3o%F6
2008-07-04Add a _x_is_fourcc() inline function to wrap around memcmp().Diego 'Flameeyes' Pettenò
This should be simpler and faster for the compiler to optimise rather than a _X_[BLM]E_32 macro and a comparison. --HG-- extra : transplant_source : %C7%1C%16%17N%3Bh%9B%EB%AA%00%A9%F1%15%C8%CB%8A%99%EE%7D
2008-07-04Use calloc to allocate the area for the OSD.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %99%9B%D5%B3Ro%87%BFV%E9%2BY%AA%83QE/%CD%5D%ED
2008-07-04Use calloc to allocate the lists of audio and video ports.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : T6%E7%60%7F%D4%60%C8l4%9AX%97%86hrR%AD%13%C0
2008-07-04Use calloc to allocate the memory area for the YUV planes.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %00%23%8FM%AA%B88C%FEA%7E%2C%D3%F5%29%8F%28%AC%D7_
2008-07-03Rewrite demux_real and demux_realaudio for style.Diego 'Flameeyes' Pettenò
Also try to simplify frame buffer allocation. --HG-- extra : transplant_source : %B6%B5o%A8%24%E1%F5B%D2%D8%08%F8%DE%E7%9E%B6%B8C%A4j
2008-07-02Build fix for external ffmpegChris Rankin
2008-07-02Don't segfault when the user requests an input the card doesn't posess.Simon Farnsworth
2008-07-02Bump version ready for the next release.Darren Salt
Hopefully, that's a while away yet :-)
2008-07-02Cope with missing strcasestr().Darren Salt
2008-07-02provide PTHREAD_CFLAGS when neededMatthias Ringwald
2008-07-02don't check for ioctl request type if oss audio is not availableMatthias Ringwald
on mingw32, ioctl does not exist and the AC_IOCTL_REQUEST macro breaks configure As this test is only needed for OSS audio (otherwise it should be somewhere else), it's now only called if OSS audio is actually available
2008-07-02fix pthread recursive mutex detection (for mingw32)Matthias Ringwald
2008-06-29Added tag xine-lib-1_1_14-release for changeset 9b383441a18fDarren Salt
2008-06-29Build-dep on ghostscript (preferred alternative).xine-lib-1_1_14-release1.1.14Darren Salt
2008-06-291.1.14.Darren Salt
2008-06-29Missing build-dep.Darren Salt
2008-06-27Add basic aspect ratio detection for WMV streams.Darren Salt
2008-06-26Bump version.Darren Salt
2008-06-25Merge, and add a changelog entry.Darren Salt
2008-06-25Add comments about (audio track)->type containing the stream no.Darren Salt
2008-06-25Backed out changeset f2086511a349; m->type isn't necessarily 0.Darren Salt
2008-06-23Update libxine1.pot.Darren Salt
2008-06-23Add a changelog entry for the Xv/XxMC port selection backport.Darren Salt
2008-06-05demux_ts: don't OR in buffer types.Darren Salt
2008-05-29Define ARCH_{ALPHA,ARM} as needed; move one ARCH_SPARC which could be missed.Darren Salt
2008-05-29Ignore debian/*.debhelper.log.Darren Salt
2008-05-25Recognise TS descriptor tag 0x80 as MPEG video.Darren Salt
2008-05-25Wherever possible, use enum constants for TS descriptor tags.Darren Salt
2008-05-24Rewrite CC_PTHREAD_RECURSIVE_MUTEX to use M4sh and AC_CACHE_CHECK.Diego 'Flameeyes' Pettenò
2008-05-24Backport pthreads.m4 from 1.2.Diego 'Flameeyes' Pettenò
Both attributes.m4 and pthread.m4 are two reusable M4 macro files, which can eaily be shared between different projects. For this reason it's better if they are kept identical between branches.
2008-05-24Backport CC_CHECK_LDFLAGS macro from 1.2 branch.Diego 'Flameeyes' Pettenò
2008-05-24Use M4sh AS_IF rather than sh if statements for common macros.Diego 'Flameeyes' Pettenò
Instead of using directly the sh if statement, use AS_IF, which makes it possible for autotools to identify conditionally-called macros, and allows to avoid M4 ifelse macros.
2008-05-23Remove MIN/MAX macro definitions on unit.Diego 'Flameeyes' Pettenò
Now that the macro are either imported from the system or defined by configure. don't define them in every source file.
2008-05-23Check for MIN/MAX macro and include the header for them if found.Diego 'Flameeyes' Pettenò
The MIN/MAX macro are quite often used on the source code to find the minimum or maximum value between two, instead of defining it per-unit, check if the system provides them include the right header, otherwise define them during configure run.
2008-05-23Mark initialisation functions with malloc attribute.Diego 'Flameeyes' Pettenò
All the initialisation functions returning a new object instance that was allocated through malloc() or calloc() can get the malloc attribute so that the compiler can optimise their call.
2008-05-20Make xine_mm_accel() appear like a constant function.Diego 'Flameeyes' Pettenò
Its result will be always the same during execution, as it depends on the hardware present. --HG-- extra : transplant_source : %F2%D1%1A%84%0F%D4%08%C0%12%09%1A%BBb%7Ef%CC%F2%FB%A3t
2008-05-20Add check for const attribute (for mathematical functions).Diego 'Flameeyes' Pettenò
Add CC_ATTRIBUTE_CONST macro to the attributes.h. Run CC_ATTRIBUTE_CONST in configure. Define SUPPORT_ATTRIBUTE_CONST for GCC 3. Define XINE_CONST to __attribute__((__const__)) if supported. --HG-- extra : transplant_source : /26%26%DF%C0%3C%AC%27%5C%B7%B1y%FEQ%8Ay%EE%F1%BD
2008-05-22Merge fix for 54ad8b80e6fc.Diego 'Flameeyes' Pettenò