Skip to content

Commit

Permalink
Name changes of legacy files (#337)
Browse files Browse the repository at this point in the history
Co-authored-by: bjornvolcker <[email protected]>
  • Loading branch information
bjornvolcker and bjornvolcker authored Jan 30, 2025
1 parent 91c9c47 commit 0765c96
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
#ifdef SV_VENDOR_AXIS_COMMUNICATIONS
#include "axis-communications/sv_vendor_axis_communications_internal.h"
#endif
#include "legacy/legacy_h26x_internal.h"
#include "legacy/legacy_h26x_nalu_list.h"
#include "legacy/legacy_bu_list.h"
#include "legacy/legacy_codec_internal.h"
#include "legacy/legacy_internal.h"
#include "legacy/legacy_tlv.h" // legacy_tlv_decode()
#include "sv_authenticity.h" // update_accumulated_validation()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include "legacy/legacy_h26x_nalu_list.h"
#include "legacy/legacy_bu_list.h"

#include <assert.h>
#include <stdlib.h> // calloc, malloc, free, size_t
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef __LEGACY_H26X_NALU_LIST_H__
#define __LEGACY_H26X_NALU_LIST_H__
#ifndef __LEGACY_BU_LIST_H__
#define __LEGACY_BU_LIST_H__

#include <stdbool.h>

#include "legacy/legacy_h26x_internal.h"
#include "legacy/legacy_codec_internal.h"
#include "sv_defines.h" // svrc_t

typedef enum {
Expand Down Expand Up @@ -198,4 +198,4 @@ legacy_bu_list_clean_up(legacy_bu_list_t* list);
svrc_t
legacy_bu_list_update_status(legacy_bu_list_t* bu_list, bool update);

#endif // __LEGACY_H26X_NALU_LIST_H__
#endif // __LEGACY_BU_LIST_H__
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef __LEGACY_H26X_INTERNAL__
#define __LEGACY_H26X_INTERNAL__
#ifndef __LEGACY_CODEC_INTERNAL__
#define __LEGACY_CODEC_INTERNAL__

#include <stdbool.h> // bool
#include <stdint.h> // uint8_t, uint32_t
Expand Down Expand Up @@ -165,4 +165,4 @@ legacy_hash_and_add_for_auth(legacy_sv_t *self, legacy_bu_list_item_t *item);
svrc_t
legacy_update_gop_hash(void *crypto_handle, legacy_gop_info_t *gop_info);

#endif // __LEGACY_H26X_INTERNAL__
#endif // __LEGACY_CODEC_INTERNAL__
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#include <assert.h> // assert
#include <stdio.h> // sscanf

#include "legacy/legacy_h26x_internal.h" // Has public declarations
#include "legacy/legacy_h26x_nalu_list.h" // legacy_bu_list_create()
#include "legacy/legacy_bu_list.h" // legacy_bu_list_create()
#include "legacy/legacy_codec_internal.h" // Has public declarations
#include "legacy/legacy_internal.h" // Has public declarations
#include "legacy_validation.h" // Has public declarations
#include "sv_authenticity.h" // latest_validation_init()
Expand Down
10 changes: 5 additions & 5 deletions lib/src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ signedvideoframework_sources = files(
)

legacy_sources = files(
'legacy/legacy_h26x_auth.c',
'legacy/legacy_h26x_common.c',
'legacy/legacy_h26x_internal.h',
'legacy/legacy_h26x_nalu_list.c',
'legacy/legacy_h26x_nalu_list.h',
'legacy/legacy_auth.c',
'legacy/legacy_bu_list.c',
'legacy/legacy_bu_list.h',
'legacy/legacy_codec_internal.h',
'legacy/legacy_common.c',
'legacy/legacy_internal.h',
'legacy/legacy_tlv.c',
'legacy/legacy_tlv.h',
Expand Down

0 comments on commit 0765c96

Please sign in to comment.