~medibuntu-maintainers/mplayer/medibuntu.quantal

« back to all changes in this revision

Viewing changes to libvo/vo_zr.c

  • Committer: Gauvain Pocentek
  • Date: 2011-08-21 07:22:23 UTC
  • mfrom: (66.1.11 oneiric)
  • Revision ID: gauvain@pocentek.net-20110821072223-ummeossdz7okpb3d
* Merge from Ubuntu:
  - put back faac support
  - recommends apport-hooks-medibuntu
  - change Maintainer, Uploaders & Vcs-* fields.
* New upstream snapshot
  - update 23mplayer-debug-printf.patch
  - fixes miscompilation with gcc 4.6, Closes: #623304
  - improved internal mkv demuxer, Closes: #595452
  - Fixed segfault due to missing sanitation on playlist files,
    Closes: #591525
  - Fixed byteorder on 16-bit displays, Closes: #594093
  - tighten build depends on libav
  - --enable-largefile switch has been dropped
  - add build dependency on yasm
* Fix build dependency on libjpeg-dev, Closes: #634277
* rewrite debian/copyright in DEP5 format
* fix clean target
* don't remove snapshot_version file
* enable XVID, MP3 and X264 encoders
* simply architecture specific dependencies, Closes: #634773
* make buildlogs verbose
* unbreak building mplayer-doc package
* don't fail debian package build if not all shlibdeps information could be retrieved
* update configure flags for static libav* libraries
* fix spelling in mplayer-dbg description, Closes: #617826
* enable blueray support, Closes: #577761
* Select oss as default audio output module on kFreeBSD, Closes: #598431
* Update documentation with regard to our modifications to the upstream tarball.
* really no longer build mplayer-gui, Closes: #612473
* simplify/remove instruction to get upstream sources
* normalize debian/{control,copyright,mplayer.install} with wrap-and-sort
* bump standards version

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20
20
 */
21
21
 
22
 
/* $Id: vo_zr.c 30635 2010-02-18 10:19:42Z diego $ */
 
22
/* $Id: vo_zr.c 33392 2011-05-07 10:59:11Z iive $ */
23
23
 
24
24
#include <stdio.h>
25
25
#include <stdlib.h>
268
268
 
269
269
static void uninit_zoran(zr_info_t *zr)
270
270
{
271
 
        if (zr->image) {
272
 
                free(zr->image);
273
 
                zr->image=NULL;
274
 
        }
 
271
        free(zr->image);
 
272
        zr->image=NULL;
275
273
        while (zr->queue > zr->synco + 1) {
276
274
                if (ioctl(zr->vdes, MJPIOC_SYNC, &zr->zs) < 0)
277
275
                        mp_msg(MSGT_VO, MSGL_ERR, "zr: error waiting for buffers to become free\n");
800
798
  zr_parsing = 0;
801
799
 
802
800
  if (!strcasecmp(param, "zrdev")) {
803
 
    if(zr->device)
804
 
      free(zr->device);
 
801
    free(zr->device);
805
802
    zr->device=NULL;
806
803
  } else if (!strcasecmp(param, "zrbw"))
807
804
    zr->bw=0;
834
831
    return 0;
835
832
}
836
833
 
837
 
static int control(uint32_t request, void *data, ...)
 
834
static int control(uint32_t request, void *data)
838
835
{
839
836
  switch (request) {
840
837
  case VOCTRL_QUERY_FORMAT: