History

Remove AVFilterBuffer w and h fields.

These fields are never used, and they do not seem to belong to AVFilterBuffer anymore, now that it is now a media-independent structure and these fields are video-related. Patch by S.N. Hemanth Meenakshisundaram smeenaks ! ucsd ! edu. Originally committed as revision 24291 to svn://svn.ffmpeg.org/ffmpeg/trunk

S.N. Hemanth Meenakshisundaram committed 16 years ago

Commit b5c582f1 parent eedc4ee2 files · +3 −5Browse files

Unified · Split

2 files
  1. libavfilter/avfilter.h +1 −3
  2. libavfilter/defaults.c +2 −2
libavfilter/avfilter.h+1−3
@@ -25,7 +25,7 @@ · 24 unmodified lines
2525 #include "libavutil/avutil.h"
2626
2727 #define LIBAVFILTER_VERSION_MAJOR 1
28−#define LIBAVFILTER_VERSION_MINOR 24
28+#define LIBAVFILTER_VERSION_MINOR 25
2929 #define LIBAVFILTER_VERSION_MICRO 0
3030
3131 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
@@ -84,8 +84,6 @@ typedef struct AVFilterBuffer · 52 unmodified lines
8484 * reallocating it from scratch.
8585 */
8686 void (*free)(struct AVFilterBuffer *pic);
87−
88− int w, h; ///< width and height of the allocated buffer
8987 } AVFilterBuffer;
9088
9189 /**
libavfilter/defaults.c+2−2
@@ -40,8 +40,8 @@ AVFilterPicRef *avfilter_default_get_video_buffer(AVFilterLink *link, int perms, · 39 unmodified lines
4040 char *buf;
4141
4242 ref->pic = pic;
43− ref->w = pic->w = w;
44− ref->h = pic->h = h;
43+ ref->w = w;
44+ ref->h = h;
4545
4646 /* make sure the buffer gets read permission or it's useless for output */
4747 ref->perms = perms | AV_PERM_READ;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t