mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 09:02:20 +00:00
avutil: Move error.h from avutil.h to common.h
Up until now, avutil.h includes common.h which includes mem.h which includes avutil.h, so that all these headers are in fact equivalent. Yet mem.h does not need to include avutil.h at all and when it no longer does, including common.h will no longer include error.h (included by avutil.h) as well; change this by moving error.h to avutil.h, as error.h is clearly a commonly used header. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
7001ff74ba
commit
c3e3ea3c88
@ -294,7 +294,6 @@ char av_get_picture_type_char(enum AVPictureType pict_type);
|
||||
*/
|
||||
|
||||
#include "common.h"
|
||||
#include "error.h"
|
||||
#include "rational.h"
|
||||
#include "version.h"
|
||||
#include "macros.h"
|
||||
|
@ -40,6 +40,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "attributes.h"
|
||||
#include "error.h"
|
||||
#include "macros.h"
|
||||
|
||||
//rounded division & shift
|
||||
|
Loading…
Reference in New Issue
Block a user