Mercurial > mplayer.hg
comparison libvo/vo_gif89a.c @ 36517:5d3f93051de9
Remove empty draw_slice and draw_frame stubs.
Long term, draw_frame should be removed completely.
author | reimar |
---|---|
date | Sat, 18 Jan 2014 21:39:07 +0000 |
parents | 1a889d9a4540 |
children |
comparison
equal
deleted
inserted
replaced
36516:b726218447c9 | 36517:5d3f93051de9 |
---|---|
52 #include <gif_lib.h> | 52 #include <gif_lib.h> |
53 | 53 |
54 #include "config.h" | 54 #include "config.h" |
55 #include "subopt-helper.h" | 55 #include "subopt-helper.h" |
56 #include "video_out.h" | 56 #include "video_out.h" |
57 #define NO_DRAW_FRAME | |
57 #include "video_out_internal.h" | 58 #include "video_out_internal.h" |
58 #include "mp_msg.h" | 59 #include "mp_msg.h" |
59 | 60 |
60 #define MPLAYER_VERSION 0.90 | 61 #define MPLAYER_VERSION 0.90 |
61 #define VO_GIF_REVISION 6 | 62 #define VO_GIF_REVISION 6 |
320 EGifPutImageDesc(new_gif, 0, 0, img_width, img_height, 0, reduce_cmap); | 321 EGifPutImageDesc(new_gif, 0, 0, img_width, img_height, 0, reduce_cmap); |
321 // put the image itself | 322 // put the image itself |
322 EGifPutLine(new_gif, reduce_data, img_width * img_height); | 323 EGifPutLine(new_gif, reduce_data, img_width * img_height); |
323 } | 324 } |
324 | 325 |
325 static int draw_frame(uint8_t *src[]) | |
326 { | |
327 return 1; | |
328 } | |
329 | |
330 static int draw_slice(uint8_t *src[], int stride[], int w, int h, int x, int y) | 326 static int draw_slice(uint8_t *src[], int stride[], int w, int h, int x, int y) |
331 { | 327 { |
332 uint8_t *dst, *frm; | 328 uint8_t *dst, *frm; |
333 int i; | 329 int i; |
334 dst = slice_data + (img_width * y + x) * 3; | 330 dst = slice_data + (img_width * y + x) * 3; |