summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodeo <[email protected]>2014-02-12 14:45:36 +0000
committerRodeo <[email protected]>2014-02-12 14:45:36 +0000
commita3a98a1069a7da82d81df49be12699f435632954 (patch)
tree37aba391df5ad69d66d7b09bbb4b65c819e6afdb
parent9c5ab59e9911f8efd7f414512f83056eb737be99 (diff)
QSV: fix compiler warning.
Was fixed for encx264 in SVN revision 5999. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6028 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/enc_qsv.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/libhb/enc_qsv.c b/libhb/enc_qsv.c
index 6a9a27c4e..e0becb81c 100644
--- a/libhb/enc_qsv.c
+++ b/libhb/enc_qsv.c
@@ -60,12 +60,6 @@ struct hb_work_private_s
mfxEncodeCtrl force_keyframe;
hb_list_t *delayed_chapters;
int64_t next_chapter_pts;
- // used in delayed_chapters list
- struct chapter_s
- {
- int index;
- int64_t start;
- };
#define BFRM_DELAY_MAX 16
// for DTS generation (when MSDK API < 1.6 or VFR)
@@ -91,6 +85,13 @@ struct hb_work_private_s
hb_list_t *delayed_processing;
};
+// used in delayed_chapters list
+struct chapter_s
+{
+ int index;
+ int64_t start;
+};
+
// for DTS generation (when MSDK API < 1.6 or VFR)
static void hb_qsv_add_new_dts(hb_list_t *list, int64_t new_dts)
{