Commit 2549f929 authored by Petri Hintukainen's avatar Petri Hintukainen

examples: fix includes

parent ae4bb932
......@@ -17,18 +17,14 @@
* <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include "libbluray/bdnav/meta_data.h"
#include "libbluray/bluray.h"
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include <unistd.h>
#include "libbluray/bdnav/meta_data.h"
#include "libbluray/bluray.h"
static const char *_yes_no(int i)
{
return i > 0 ? "yes" : i < 0 ? "unknown" : "no";
......
......@@ -21,15 +21,14 @@
#include "config.h"
#endif
#include "libbluray/bluray.h"
#include "util/macro.h"
#include "util/strutl.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <libgen.h>
#include <inttypes.h>
#include "libbluray/bluray.h"
#define PKT_SIZE 192
#define BUF_SIZE (PKT_SIZE * 1024)
#define MIN(a,b) (((a) < (b)) ? a : b)
......
......@@ -18,8 +18,6 @@
* <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
......
......@@ -17,14 +17,14 @@
* <http://www.gnu.org/licenses/>.
*/
#include "util/log_control.h"
#include "libbluray/bluray.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include "util/log_control.h"
#include "libbluray/bluray.h"
static void _print_event(BD_EVENT *ev)
{
switch (ev->event) {
......
......@@ -17,10 +17,10 @@
* <http://www.gnu.org/licenses/>.
*/
#include "libbluray/bluray.h"
#include <stdio.h>
#include "libbluray/bluray.h"
static void _indx_print_title(const BLURAY_TITLE *title, int normal_title)
{
printf(" object type : %s\n", title->bdj ? "BD-J" : "HDMV");
......
......@@ -18,17 +18,13 @@
* <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include "libbluray/bluray.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include "libbluray/bluray.h"
int main(int argc, char *argv[])
{
BLURAY *bd;
......
......@@ -17,10 +17,6 @@
* <http://www.gnu.org/licenses/>.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include "libbluray/bluray.h"
#include <stdio.h>
......@@ -32,7 +28,7 @@
static void _usage(char *cmd)
{
fprintf(stderr,
fprintf(stderr,
"%s <BD base dir> [-s <seconds>]\n"
" List the titles and title info of a BD\n"
" -s # - Filter out titles shorter than # seconds\n"
......
......@@ -17,9 +17,9 @@
* <http://www.gnu.org/licenses/>.
*/
#include "util/macro.h"
#include "libbluray/hdmv/mobj_parse.h"
#include <stdio.h>
#include <string.h>
static void _mobj_print(MOBJ_OBJECTS *objects, int disasm)
......
......@@ -17,11 +17,11 @@
* <http://www.gnu.org/licenses/>.
*/
#include "libbluray/bluray.h"
#include <stdio.h>
#include <stdlib.h>
#include "libbluray/bluray.h"
static void _sound_print(int sound_index, BLURAY_SOUND_EFFECT *data)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment