File ffmpeg-3.patch of Package A_tw-ffmpeg-3

41
 
1
--- a/libavcodec/aarch64/h264dsp_init_aarch64.c
2
+++ b/libavcodec/aarch64/h264dsp_init_aarch64.c
3
@@ -34,20 +34,20 @@ void ff_h264_v_loop_filter_chroma_neon(uint8_t *pix, int stride, int alpha,
4
 void ff_h264_h_loop_filter_chroma_neon(uint8_t *pix, int stride, int alpha,
5
                                        int beta, int8_t *tc0);
6
 
7
-void ff_weight_h264_pixels_16_neon(uint8_t *dst, int stride, int height,
8
+void ff_weight_h264_pixels_16_neon(uint8_t *dst, ptrdiff_t stride, int height,
9
                                    int log2_den, int weight, int offset);
10
-void ff_weight_h264_pixels_8_neon(uint8_t *dst, int stride, int height,
11
+void ff_weight_h264_pixels_8_neon(uint8_t *dst, ptrdiff_t stride, int height,
12
                                   int log2_den, int weight, int offset);
13
-void ff_weight_h264_pixels_4_neon(uint8_t *dst, int stride, int height,
14
+void ff_weight_h264_pixels_4_neon(uint8_t *dst, ptrdiff_t stride, int height,
15
                                   int log2_den, int weight, int offset);
16
 
17
-void ff_biweight_h264_pixels_16_neon(uint8_t *dst, uint8_t *src, int stride,
18
+void ff_biweight_h264_pixels_16_neon(uint8_t *dst, uint8_t *src, ptrdiff_t stride,
19
                                      int height, int log2_den, int weightd,
20
                                      int weights, int offset);
21
-void ff_biweight_h264_pixels_8_neon(uint8_t *dst, uint8_t *src, int stride,
22
+void ff_biweight_h264_pixels_8_neon(uint8_t *dst, uint8_t *src, ptrdiff_t stride,
23
                                     int height, int log2_den, int weightd,
24
                                     int weights, int offset);
25
-void ff_biweight_h264_pixels_4_neon(uint8_t *dst, uint8_t *src, int stride,
26
+void ff_biweight_h264_pixels_4_neon(uint8_t *dst, uint8_t *src, ptrdiff_t stride,
27
                                     int height, int log2_den, int weightd,
28
                                     int weights, int offset);
29
 
30
--- a/libavformat/tty.c
31
+++ b/libavformat/tty.c
32
@@ -49,7 +49,7 @@ typedef struct TtyDemuxContext {
33
     AVRational framerate; /**< Set by a private option. */
34
 } TtyDemuxContext;
35
 
36
-static int read_probe(const AVProbeData *p)
37
+static int read_probe(AVProbeData *p)
38
 {
39
     int cnt = 0;
40
 
41