~ubuntu-branches/ubuntu/trusty/libav/trusty-proposed

« back to all changes in this revision

Viewing changes to libswscale/colorspace-test.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2013-10-22 23:24:08 UTC
  • mfrom: (1.3.36 sid)
  • Revision ID: package-import@ubuntu.com-20131022232408-b8tvvn4pyzri9mi3
Tags: 6:9.10-1ubuntu1
* Build all -extra flavors from this source package, as libav got demoted
  from main to universe, cf LP: #1243235
* Simplify debian/rules to follow exactly the code that debian executes
* New upstream (LP: #1180288) fixes lots of security issues (LP: #1242802)
* Merge from unstable, remaining changes:
  - build-depend on libtiff5-dev rather than libtiff4-dev,
    avoids FTBFS caused by imlib
  - follow the regular debian codepaths

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
#include <stdio.h>
22
22
#include <string.h>              /* for memset() */
23
 
#include <unistd.h>
24
23
#include <stdlib.h>
25
24
#include <inttypes.h>
26
25
 
27
26
#include "swscale.h"
28
27
#include "rgb2rgb.h"
 
28
#include "libavutil/mem.h"
29
29
 
30
30
#define SIZE    1000
31
31
#define srcByte 0x55
33
33
 
34
34
#define FUNC(s, d, n) { s, d, #n, n }
35
35
 
36
 
int main(int argc, char **argv)
 
36
int main(void)
37
37
{
38
38
    int i, funcNum;
39
39
    uint8_t *srcBuffer = av_malloc(SIZE);